![]() |
Derivation for diagonal 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 () |
Private Attributes | |
Vector | m_inverseDiagonal |
Derivation for diagonal matrix type.
|
overridevirtual |
Implements SurgSim::Math::LinearSolveAndInverse.
|
overridevirtual |
Set the linear solver matrix.
matrix | the new matrix to solve/inverse for |
Implements SurgSim::Math::LinearSolveAndInverse.
|
overridevirtual |
Solve the linear system (matrix.x=b) using the matrix provided by the latest setMatrix call.
b | The rhs vector |
Implements SurgSim::Math::LinearSolveAndInverse.
|
private |