![]() |
Derivation for symmetric tri-diagonal block matrix type. More...
#include <SurgSim/Math/LinearSolveAndInverse.h>
Public Member Functions | |
virtual void | operator() (const Matrix &A, const Vector &b, Vector *x=nullptr, Matrix *Ainv=nullptr) override |
Solve a linear system A.x=b and compute the matrix A^-1. More... | |
![]() | |
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 |
Solve a linear system A.x=b and compute the matrix A^-1.
A | Linear system matrix | |
b | Linear system right-hand-side | |
[out] | x | Linear system unknown (if requested) |
[out] | Ainv | Linear system matrix inverse = A^-1 (if requested) |
Reimplemented from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >.