adjugate function
Adjugate of a square matrix: the transpose of its cofactors.
How to write it
adjugate(matrix)
- matrix
- A square matrix. Takes a matrix, written as a list of rows.
Examples
adjugate([[1, 2], [3, 4]])In the solver,
Open in the solveradjugate([[1, 2], [3, 4]])gives[[4, -2], [-3, 1]].
Related functions
- characteristic_polynomial
Characteristic polynomial of a square matrix in a variable.
- upper_triangularize
A matrix with the entries below the diagonal set to zero.
- cholesky_decomposition
Cholesky decomposition of a symmetric positive definite matrix.
- transpose
Transpose of a matrix: its rows become its columns.
- cross
Cross product of two vectors in three dimensions.
- trace
Trace of a square matrix: the sum of its diagonal.