Previous Up Next

5.51.4  Determinant of a matrix: det

det takes as argument a matrix A.
det returns the determinant of the matrix A.
Input:

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

Output:

-2

Input:

det(idn(3))

Output:

1

An optional argument can be used to specify with an optional argument.


Previous Up Next