All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SurgSim::Math::LinearSolveAndInverseDiagonalMatrix Class Reference

Derivation for diagonal matrix type. More...

#include <SurgSim/Math/LinearSolveAndInverse.h>

Inheritance diagram for SurgSim::Math::LinearSolveAndInverseDiagonalMatrix:
Inheritance graph
Collaboration diagram for SurgSim::Math::LinearSolveAndInverseDiagonalMatrix:
Collaboration graph

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...
- Public Member Functions inherited from SurgSim::Math::LinearSolveAndInverse
virtual ~LinearSolveAndInverse ()

Detailed Description

Derivation for diagonal matrix type.

Member Function Documentation

void SurgSim::Math::LinearSolveAndInverseDiagonalMatrix::operator() ( const Matrix A,
const Vector b,
Vector x = nullptr,
Matrix Ainv = nullptr 

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

ALinear system matrix
bLinear system right-hand-side
[out]xLinear system unknown (if requested)
[out]AinvLinear system matrix inverse = A^-1 (if requested)

Implements SurgSim::Math::LinearSolveAndInverse.

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