Public Member Functions | List of all members
SurgSim::Math::LinearSolveAndInverseSymmetricTriDiagonalBlockMatrix< BlockSize > Class Template Reference

Derivation for symmetric tri-diagonal block matrix type. More...

#include <SurgSim/Math/LinearSolveAndInverse.h>

Inheritance diagram for SurgSim::Math::LinearSolveAndInverseSymmetricTriDiagonalBlockMatrix< BlockSize >:
SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize > SurgSim::Math::LinearSolveAndInverse

Public Member Functions

void setMatrix (const Matrix &matrix) override
 Set the linear solver matrix. More...
 
- Public Member Functions inherited from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >
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
 
- Public Member Functions inherited from SurgSim::Math::LinearSolveAndInverse
virtual ~LinearSolveAndInverse ()
 

Additional Inherited Members

- Protected Member Functions inherited from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >
void inverseTriDiagonalBlock (const SurgSim::Math::Matrix &A, SurgSim::Math::Matrix *inv, bool isSymmetric=false)
 Computes the inverse matrix. More...
 
- Protected Attributes inherited from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >
Matrix m_inverse
 Member variable to hold the inverse matrix in case only the solving is requested. More...
 

Detailed Description

template<size_t BlockSize>
class SurgSim::Math::LinearSolveAndInverseSymmetricTriDiagonalBlockMatrix< BlockSize >

Derivation for symmetric tri-diagonal block matrix type.

Template Parameters
BlockSizeDefine the block size of the tri-diagonal block matrix

Member Function Documentation

§ setMatrix()

template<size_t BlockSize>
void SurgSim::Math::LinearSolveAndInverseSymmetricTriDiagonalBlockMatrix< BlockSize >::setMatrix ( const Matrix matrix)
overridevirtual

Set the linear solver matrix.

Parameters
matrixthe new matrix to solve/inverse for

Reimplemented from SurgSim::Math::LinearSolveAndInverseTriDiagonalBlockMatrix< BlockSize >.


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