LinearSparseSolveAndInverse aims at performing an efficient linear system resolution and calculating its inverse matrix at the same time.
More...
#include <SurgSim/Math/LinearSparseSolveAndInverse.h>
LinearSparseSolveAndInverse aims at performing an efficient linear system resolution and calculating its inverse matrix at the same time.
This class is very useful in the OdeSolver resolution to improve performance.
- See also
- SurgSim::Math::OdeSolver
◆ ~LinearSparseSolveAndInverse()
virtual SurgSim::Math::LinearSparseSolveAndInverse::~LinearSparseSolveAndInverse |
( |
| ) |
|
|
inlinevirtual |
◆ getInverse()
Matrix SurgSim::Math::LinearSparseSolveAndInverse::getInverse |
( |
| ) |
const |
|
virtual |
- Returns
- The linear system's inverse matrix, i.e. the inverse of the matrix provided on the last setMatrix call
◆ setMatrix()
virtual void SurgSim::Math::LinearSparseSolveAndInverse::setMatrix |
( |
const SparseMatrix & |
matrix | ) |
|
|
pure virtual |
◆ solve()
virtual Matrix SurgSim::Math::LinearSparseSolveAndInverse::solve |
( |
const Matrix & |
b | ) |
const |
|
pure virtual |
◆ m_matrix
SparseMatrix SurgSim::Math::LinearSparseSolveAndInverse::m_matrix |
|
protected |
A copy of the system matrix for use when an inverse is necessary.
The documentation for this class was generated from the following files: