Function: determinant (M)
- Returns the determinant of the matrix M.
Example:
-
(%i) determinant( matrix( [1,2], [2,1] ) );
(%o) -3
(%i) determinant( matrix( [a,b], [c,d] ) );
(%o) a*d-b*c
(%i) determinant( matrix( [a,b,c],[d,e,f],[g,h,i] ) );
(%o) a*(e*i-f*h)-b*(d*i-f*g)+c*(d*h-e*g)
- OCTAVE :: DET...Determinant of a Square Matrix
- R :: DET... Calculate the Determinant of a Matrix