![]() |
Derivation for diagonal 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 () |
Derivation for diagonal matrix type.
|
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) |
Implements SurgSim::Math::LinearSolveAndInverse.