Prototypes | Header File(s) | |
template <class T> | ||
RWGenMat<T> |
inverse(const RWGenMat<T>& m) |
<rw/math/genmat.h> <rw/math/genfact.h> |
RWGenMat<T> |
inverse(const RWGenFact<T>& m) |
<rw/math/genfact.h> |
Returns the inverse of the matrix from which an existing LU factorization was constructed. If the factorization m is invalid, perhaps because the original matrix was singular, an exception with value LPAK_CANTSOLVE occurs.