.NET Matrix Library
Inverse Method
See Also  Send Feedback



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

Syntax

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

Return Value

A Matrix 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