QRDecomposition<T>.Get Inverse Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Get | Calculates the inverse matrix.. |
Get | Calculates the inverse of the factorized matrix. |
GetInverse(Boolean)
Calculates the inverse of the factorized
matrix.
public override Matrix<T> GetInverse(
bool overwrite
)
Parameters
- overwrite Boolean
Return Value
Matrix<T>A DenseMatrix<T> that is the matrix inverse of this instance.
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.
The inverse is only defined for a square matrix. If the matrix is not square, an exception of type DimensionMismatchException is thrown.
Exceptions
Dimension | The matrix is not square. |
Matrix | The matrix is singular. |