Matrix inverse (inverse)
Inverse of a square matrix.
With this function, the solver shows the steps whenever it finds them.
How to write it
inverse(matrix)
- matrix
- A matrix, written as a list of rows. Takes a matrix, written as a list of rows.
Examples
inverse([[1, 2], [3, 4]])In the solver,
Open in the solverinverse([[1, 2], [3, 4]])gives[[-2, 1], [3/2, -1/2]].
Related functions
- pseudo_inverse
Moore-Penrose pseudo-inverse of a matrix.
- jordan_decomposition
Jordan decomposition of a square matrix: the matrix of generalized eigenvectors and the Jordan form.
- identity_matrix
Identity matrix of a given size.
- jordan_form
Jordan normal form of a square matrix.
- hilbert_matrix
Hilbert matrix of a given size: the entry in row i and column j is 1/(i + j - 1).
- kronecker_product
Kronecker product of two matrices.