Click or drag to resize

SquareMatrixInverse Method

Computes the inverse of the matrix.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public SquareMatrix Inverse()

Return Value

Type: SquareMatrix
The matrix inverse M-1.
Exceptions
ExceptionCondition
DivideByZeroExceptionThe matrix is singular.
Remarks

The inverse of a matrix M is a matrix M-1 such that M-1M = I, where I is the identity matrix.

If the matrix is singular, inversion is not possible. In that case, this method will fail with a DivideByZeroException.

The inversion of a matrix is an O(N3) operation.

See Also