|
Derivation for sparse LU solver. More...
#include <SurgSim/Math/LinearSparseSolveAndInverse.h>
Public Member Functions | |
| void | setMatrix (const SparseMatrix &matrix) override |
| Set the linear solver matrix. More... | |
| Matrix | solve (const Matrix &b) const override |
| Solve the linear system (matrix.x=b) using the matrix provided by the latest setMatrix call for all columns of the rhs matrix b. More... | |
Public Member Functions inherited from SurgSim::Math::LinearSparseSolveAndInverse | |
| virtual | ~LinearSparseSolveAndInverse () |
| virtual Matrix | getInverse () const |
Private Attributes | |
| Eigen::SparseLU< SparseMatrix > | m_solver |
Additional Inherited Members | |
Protected Attributes inherited from SurgSim::Math::LinearSparseSolveAndInverse | |
| SparseMatrix | m_matrix |
| A copy of the system matrix for use when an inverse is necessary. More... | |
Derivation for sparse LU solver.
|
overridevirtual |
Set the linear solver matrix.
| matrix | the new matrix to solve/inverse for |
Implements SurgSim::Math::LinearSparseSolveAndInverse.
|
overridevirtual |
Solve the linear system (matrix.x=b) using the matrix provided by the latest setMatrix call for all columns of the rhs matrix b.
| b | The rhs matrix |
Implements SurgSim::Math::LinearSparseSolveAndInverse.
|
private |
1.8.13