| Calling Sequence | matrix_inverse(A)
| |||||||||
| Parameters |
| |||||||||
| Return Type | matrix | |||||||||
| Synopsis | Compute the inverse of a square matrix. If A is a square matrix the same effect is obtained by computing A^(-1). To resolve a system of linear equations, GaussElim(A,b) is more efficient than A^(-1) * b. | |||||||||
| Examples | > A := [[3,1,2],[1,2,-1],[2,-1,5]]; A := [[3, 1, 2], [1, 2, -1], [2, -1, 5]] > A^(-1); [[0.9000, -0.7000, -0.5000], [-0.7000, 1.1000, 0.5000], [-0.5000, 0.5000, 0.5000]] | |||||||||
| See also | Cholesky, convolve, Eigenvalues, GaussElim, GivensElim, Identity, matrix, transpose | |||||||||