![]() |
Derivation for symmetric tri-diagonal block matrix type. More...
#include <SurgSim/Math/LinearSolveAndInverse.h>
Public Member Functions | |
void | setMatrix (const Matrix &matrix) override |
Set the linear solver matrix. More... | |
![]() | |
Vector | solve (const Vector &b) override |
Solve the linear system (matrix.x=b) using the matrix provided by the latest setMatrix call. More... | |
Matrix | getInverse () override |
![]() | |
virtual | ~LinearSolveAndInverse () |
Additional Inherited Members | |
![]() | |
void | inverseTriDiagonalBlock (const SurgSim::Math::Matrix &A, SurgSim::Math::Matrix *inv, bool isSymmetric=false) |
Computes the inverse matrix. More... | |
![]() | |
Matrix | m_inverse |
Member variable to hold the inverse matrix in case only the solving is requested. More... | |
Derivation for symmetric tri-diagonal block matrix type.
BlockSize | Define the block size of the tri-diagonal block matrix |
|
overridevirtual |
Set the linear solver matrix.
matrix | the new matrix to solve/inverse for |
Reimplemented from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >.