Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > QRDecomposition Class > Methods


Extreme Optimization Mathematics Library for .NET

QRDecomposition.GetInverse Method 

Calculates the inverse of the factorized Matrix.

[Visual Basic]
Overrides Public Function GetInverse() As Matrix
[C#]
public override Matrix GetInverse();

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

Exception TypeCondition
DimensionMismatchExceptionThe matrix is not square.
MatrixSingularExceptionThe matrix is singular.

See Also

QRDecomposition Class | Extreme.Mathematics.LinearAlgebra Namespace | LinearTransformation