Calculates the inverse of the factorized
matrix.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public virtual Matrix GetInverse(
bool overwrite
)
Public Overridable Function GetInverse (
overwrite As Boolean
) As Matrix
public:
virtual Matrix^ GetInverse(
bool overwrite
)
abstract GetInverse :
overwrite : bool -> Matrix
override GetInverse :
overwrite : bool -> Matrix
Parameters
- overwrite
- Type: SystemBoolean
If , the inverse matrix is returned
as a new instance.
If , the decomposition is overwritten with the solution. In this case,
the decomposition is no longer valid after the call to this method.
Return Value
Type:
Matrix
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.
Numerical Libraries
Supported in: 5.x, 4.x
Reference