Cholesky Decomposition<T>.Get Inverse Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Get | Calculates the inverse matrix.. |
Get | Calculates the inverse of the factorized symmetric matrix. |
GetInverse(Boolean)
Calculates the inverse of the factorized
symmetric matrix.
public override Matrix<T> GetInverse(
bool overwrite
)
Parameters
- overwrite Boolean
Return Value
Matrix<T>A SymmetricMatrix<T> that is the inverse matrix of the base matrix of this decomposition.
Remarks
The inverse of a matrix is the matrix that, when multiplied by the original matrix, gives an identity matrix.
If the matrix is singular, its inverse does not exist and a MatrixSingularException is thrown.
This method uses the LAPACK routine ?POTRI.
Exceptions
Matrix | The matrix is singular. |