Simbody  3.6
SimTK::FactorLU Class Reference

Class for performing LU matrix factorizations. More...

+ Inheritance diagram for SimTK::FactorLU:

Public Member Functions

 ~FactorLU ()
 
 FactorLU ()
 
 FactorLU (const FactorLU &c)
 
FactorLUoperator= (const FactorLU &rhs)
 
template<class ELT >
 FactorLU (const Matrix_< ELT > &m)
 
template<class ELT >
void factor (const Matrix_< ELT > &m)
 factors a matrix More...
 
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side More...
 
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides More...
 
template<class ELT >
void getL (Matrix_< ELT > &l) const
 returns the lower triangle of an LU factorization More...
 
template<class ELT >
void getU (Matrix_< ELT > &u) const
 returns the upper triangle of an LU factorization More...
 
template<class ELT >
void inverse (Matrix_< ELT > &m) const
 returns the inverse of a matrix using an LU factorization More...
 
bool isSingular () const
 returns true if matrix was singular More...
 
int getSingularIndex () const
 returns the first diagonal which was found to be singular More...
 
- Public Member Functions inherited from SimTK::Factor
 Factor ()
 
template<class ELT >
 Factor (Matrix_< ELT > m)
 creates an factorization of a matrix More...
 
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side using a factorization More...
 
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides using a factorization More...
 

Protected Attributes

class FactorLURepBase * rep
 

Detailed Description

Class for performing LU matrix factorizations.

Constructor & Destructor Documentation

◆ ~FactorLU()

SimTK::FactorLU::~FactorLU ( )

◆ FactorLU() [1/3]

SimTK::FactorLU::FactorLU ( )

◆ FactorLU() [2/3]

SimTK::FactorLU::FactorLU ( const FactorLU c)

◆ FactorLU() [3/3]

template<class ELT >
SimTK::FactorLU::FactorLU ( const Matrix_< ELT > &  m)

Member Function Documentation

◆ operator=()

FactorLU& SimTK::FactorLU::operator= ( const FactorLU rhs)

◆ factor()

template<class ELT >
void SimTK::FactorLU::factor ( const Matrix_< ELT > &  m)

factors a matrix

◆ solve() [1/2]

template<class ELT >
void SimTK::FactorLU::solve ( const Vector_< ELT > &  b,
Vector_< ELT > &  x 
) const

solves a single right hand side

◆ solve() [2/2]

template<class ELT >
void SimTK::FactorLU::solve ( const Matrix_< ELT > &  b,
Matrix_< ELT > &  x 
) const

solves multiple right hand sides

◆ getL()

template<class ELT >
void SimTK::FactorLU::getL ( Matrix_< ELT > &  l) const

returns the lower triangle of an LU factorization

◆ getU()

template<class ELT >
void SimTK::FactorLU::getU ( Matrix_< ELT > &  u) const

returns the upper triangle of an LU factorization

◆ inverse()

template<class ELT >
void SimTK::FactorLU::inverse ( Matrix_< ELT > &  m) const

returns the inverse of a matrix using an LU factorization

◆ isSingular()

bool SimTK::FactorLU::isSingular ( ) const

returns true if matrix was singular

◆ getSingularIndex()

int SimTK::FactorLU::getSingularIndex ( ) const

returns the first diagonal which was found to be singular

Member Data Documentation

◆ rep

class FactorLURepBase* SimTK::FactorLU::rep
protected

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