Simbody  3.7
SimTK::FactorQTZ Class Reference

Class to perform a QTZ (linear least squares) factorization. More...

+ Inheritance diagram for SimTK::FactorQTZ:

Public Member Functions

 ~FactorQTZ ()
 
 FactorQTZ ()
 
 FactorQTZ (const FactorQTZ &c)
 
FactorQTZoperator= (const FactorQTZ &rhs)
 
template<typename ELT >
 FactorQTZ (const Matrix_< ELT > &m)
 do QTZ factorization of a matrix More...
 
template<typename ELT >
 FactorQTZ (const Matrix_< ELT > &m, double rcond)
 do QTZ factorization of a matrix for a given reciprocal condition number More...
 
template<typename ELT >
 FactorQTZ (const Matrix_< ELT > &m, float rcond)
 do QTZ factorization of a matrix for a given reciprocal condition number More...
 
template<typename ELT >
void factor (const Matrix_< ELT > &m)
 do QTZ factorization of a matrix More...
 
template<typename ELT >
void factor (const Matrix_< ELT > &m, float rcond)
 do QTZ factorization of a matrix for a given reciprocal condition number More...
 
template<typename ELT >
void factor (const Matrix_< ELT > &m, double rcond)
 do QTZ factorization of a matrix for a given reciprocal condition number More...
 
template<typename ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solve for a vector x given a right hand side vector b More...
 
template<typename ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solve for an array of vectors given multiple right hand sides More...
 
template<class ELT >
void inverse (Matrix_< ELT > &m) const
 
int getRank () const
 returns the rank of the matrix More...
 
double getRCondEstimate () const
 returns the actual reciprocal condition number at this rank 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 FactorQTZRepBase * rep
 

Detailed Description

Class to perform a QTZ (linear least squares) factorization.

Constructor & Destructor Documentation

◆ ~FactorQTZ()

SimTK::FactorQTZ::~FactorQTZ ( )

◆ FactorQTZ() [1/5]

SimTK::FactorQTZ::FactorQTZ ( )

◆ FactorQTZ() [2/5]

SimTK::FactorQTZ::FactorQTZ ( const FactorQTZ c)

◆ FactorQTZ() [3/5]

template<typename ELT >
SimTK::FactorQTZ::FactorQTZ ( const Matrix_< ELT > &  m)

do QTZ factorization of a matrix

◆ FactorQTZ() [4/5]

template<typename ELT >
SimTK::FactorQTZ::FactorQTZ ( const Matrix_< ELT > &  m,
double  rcond 
)

do QTZ factorization of a matrix for a given reciprocal condition number

◆ FactorQTZ() [5/5]

template<typename ELT >
SimTK::FactorQTZ::FactorQTZ ( const Matrix_< ELT > &  m,
float  rcond 
)

do QTZ factorization of a matrix for a given reciprocal condition number

Member Function Documentation

◆ operator=()

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

◆ factor() [1/3]

template<typename ELT >
void SimTK::FactorQTZ::factor ( const Matrix_< ELT > &  m)

do QTZ factorization of a matrix

◆ factor() [2/3]

template<typename ELT >
void SimTK::FactorQTZ::factor ( const Matrix_< ELT > &  m,
float  rcond 
)

do QTZ factorization of a matrix for a given reciprocal condition number

◆ factor() [3/3]

template<typename ELT >
void SimTK::FactorQTZ::factor ( const Matrix_< ELT > &  m,
double  rcond 
)

do QTZ factorization of a matrix for a given reciprocal condition number

◆ solve() [1/2]

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

solve for a vector x given a right hand side vector b

◆ solve() [2/2]

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

solve for an array of vectors given multiple right hand sides

◆ inverse()

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

◆ getRank()

int SimTK::FactorQTZ::getRank ( ) const

returns the rank of the matrix

◆ getRCondEstimate()

double SimTK::FactorQTZ::getRCondEstimate ( ) const

returns the actual reciprocal condition number at this rank

Member Data Documentation

◆ rep

class FactorQTZRepBase* SimTK::FactorQTZ::rep
protected

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