SurgSim::Math::LinearSolveAndInverse Class Referenceabstract

LinearSolveAndInverse aims at performing an efficient linear system resolution and calculating its inverse matrix at the same time. More...

#include <SurgSim/Math/LinearSolveAndInverse.h>

Inheritance diagram for SurgSim::Math::LinearSolveAndInverse:
[legend]

## Public Member Functions

virtual ~LinearSolveAndInverse ()

virtual void operator() (const Matrix &A, const Vector &b, Vector *x=nullptr, Matrix *Ainv=nullptr)=0
Solve a linear system A.x=b and compute the matrix A^-1. More...

## Detailed Description

LinearSolveAndInverse aims at performing an efficient linear system resolution and calculating its inverse matrix at the same time.

This class is very useful in the OdeSolver resolution to improve performance.

SurgSim::Math::OdeSolver

## Constructor & Destructor Documentation

 virtual SurgSim::Math::LinearSolveAndInverse::~LinearSolveAndInverse ( )
inlinevirtual

## Member Function Documentation

 virtual void SurgSim::Math::LinearSolveAndInverse::operator() ( const Matrix & A, const Vector & b, Vector * x = nullptr, Matrix * Ainv = nullptr )
pure virtual

Solve a linear system A.x=b and compute the matrix A^-1.

Parameters
 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)

The documentation for this class was generated from the following file: