Calculates the inverse of the factorized
SymmetricMatrix.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function GetInverse As Matrix |
| C# |
|---|
public override Matrix GetInverse () |
| C++ |
|---|
public: virtual Matrix^ GetInverse () override |
Return Value
A SymmetricMatrix that is the inverse matrix of the BaseMatrix of this decomposition.
Remarks
The inverse of a matrix is the matrix that,
when multiplied by the original matrix, gives an
GetIdentity(Int32).
If the matrix is singular, its inverse does not exist and a MatrixSingularException is thrown.
This method uses the LAPACK routine DPOTRI.
Exceptions
| Exception | Condition |
|---|---|
| MatrixSingularException | The matrix is singular. |