.NET Matrix Library
Inverse Method
See Also  Send Feedback



Returns the inverse of a square complex matrix using its LU factorization.

Syntax

Visual Basic (Declaration) 
Public Function Inverse() As CMatrix
Visual Basic (Usage)Copy Code
Dim instance As CLU
Dim value As CMatrix
 
value = instance.Inverse()
C# 
public CMatrix Inverse()
C++/CLI 
public:
CMatrix^ Inverse(); 

Return Value

A CMatrix object containing the inverse of the factored matrix.

Exceptions

ExceptionDescription
NotSquareMatrixExceptionThe LU factorization does not represent a square matrix.
SingularMatrixExceptionThe LU factorization represents a singular matrix whose inverse cannot be calculated.

Remarks

Matrix inverse can be calculated only for a square non-singular matrix. The IsSinular property can be used to check if the factored matrix is singular before attempting to execute the Inverse method.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library