Skip to content

listlist determinant

Chris Petersen edited this page Oct 16, 2014 · 1 revision

#(listlist-determinant m) listlist-determinant returns the determinant of a matrix (list of lists).

Parameter Description
m Matrix (list of lists)

Example

Example 1: Obtain the determinant of a matrix

> (listlist-determinant '((1 2 3) (1 0 2) (1 2 1))) 
4
> (listlist-determinant '((1 2 3 4) (5 6 7 8) (9 10 11 12) (13 14 15 16)))
0
Clone this wiki locally