public SquareMatrix Inverse()
Public Function Inverse As SquareMatrix
public: SquareMatrix^ Inverse()
member Inverse : unit -> SquareMatrix
|DivideByZeroException||The matrix is singular.|
The inverse of a matrix M is a matrix M-1 such that M-1M = I, where I is the identity matrix.
If the matrix is singular, inversion is not possible. In that case, this method will fail with a DivideByZeroException.
The inversion of a matrix is an O(N3) operation.