ConstantMatrix<T>.GetInverse Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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
 

Return Value

Matrix<T>
The DiagonalMatrix<T> that is the inverse of the DiagonalMatrix<T>.

Exceptions

MatrixSingularException

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

DimensionMismatchException

The matrix is not square.

See Also