SquareMatrixInverse Method

Computes the inverse of the matrix.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public SquareMatrix Inverse()

Return Value

SquareMatrix
The matrix inverse M-1.

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.

Exceptions

DivideByZeroExceptionThe matrix is singular.

See Also