Previous Up Next

15.1.4  Determinant of a matrix

The det and det_minor commands compute the determinant of a matrix.

Examples

det([[1,2],[3,4]])
     
−2           
det(idn(3))
     
1           

The det_minor command finds the determinant of a matrix by expanding the determinant using Laplace’s algorithm.

Examples

det_minor([[1,2],[3,4]])
     
−2           
det_minor(idn(3))
     
1           

Previous Up Next