Matrix<T>.GetInverse Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

GetInverse() Calculates the inverse matrix..
GetInverse(Boolean) Calculates the inverse of this matrix.

GetInverse(Boolean)

Calculates the inverse of this matrix.
C#
public override Matrix<T> GetInverse(
	bool overwrite
)

Parameters

overwrite  Boolean
A Boolean value that specifies whether the matrix may be overwritten with the inverse.

Return Value

Matrix<T>
The matrix inverse of the Matrix<T>.

Exceptions

MatrixSingularException

The Matrix<T> is singular and does not have an inverse.

DimensionMismatchException

The Matrix<T> is not square.

See Also