Back to LAPACK/BLAS
la.inverses.inv
Compute the inverse of a general n×n matrix A.
Syntax
la.inverses.inv(A, options?)
Description
Compute the inverse of a general n×n matrix A. Uses LU factorization with partial pivoting: A = P*L*U, then computes A^(-1) from this factorization.
Parameters
| Name | Description |
|---|---|
| A | - Input square matrix (n × n) |
| options(optional) | - Computation options |
Returns
InvResult