Does not inherit
Prototypes | Header File(s) | |
template <class T> | ||
RWMathVec<T> | solve(const RWGenMat<T>& m const RWMathVec<T>& b) | <rw/math/genmat.h> <rw/math/genfact.h> <rw/math/mathvec.h> |
RWMathVec<T> | solve(const RWGenFact<T>& m, const RWMathVec<T>& b) | <rw/math/genfact.h> <rw/math/mathvec.h> |
RWGenMat<T> | solve(const RWGenMat<T>&m, constRWGenMat<T>& b | <rw/math/genmat.h> <rw/math/genfact.h> |
RWGenMat<T> | solve(const RWGenFact<T>&m, constRWGenFact<T>& b | <rw/math/genfact.h> |
Calculates the solution to the matrix equation A*x = b, where m is an LU factorization constructed from the matrix A.
If the factorization m is invalid, perhaps because the original matrix A was singular, an exception with value LPAK_CANTSOLVE occurs. If the number of elements in x does not match the order of A, an exception with value LPAK_VECLENGTH occurs.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.