Matrix determinant (det)
Determinant of a square matrix.
With this function, the solver shows the steps whenever it finds them.
How to write it
det(matrix)
- matrix
- A matrix, written as a list of rows. Takes a matrix, written as a list of rows.
Examples
det([[1, 2], [3, 4]])In the solver,
Open in the solverdet([[1, 2], [3, 4]])gives-2.det([[a, b], [c, d]])In the solver,
Open in the solverdet([[a, b], [c, d]])givesa*d - b*c.
Related functions
- diagonal
The diagonal of a matrix, as a list.
- cross
Cross product of two vectors in three dimensions.
- diagonal_matrix
A matrix with the given list on its diagonal and zeros elsewhere.
- cholesky_decomposition
Cholesky decomposition of a symmetric positive definite matrix.
- dot
Dot product of two vectors, or product of two matrices.
- characteristic_polynomial
Characteristic polynomial of a square matrix in a variable.