Simbody 3.9
Loading...
Searching...
No Matches
SimTK::FactorLLT Class Reference

Class for performing LLT (Cholesky) matrix factorizations. More...

#include <LinearAlgebra.h>

+ Inheritance diagram for SimTK::FactorLLT:

Public Member Functions

 ~FactorLLT ()
 
 FactorLLT ()
 
 FactorLLT (const FactorLLT &c)
 
 FactorLLT (FactorLLT &&c) noexcept
 
FactorLLT & operator= (const FactorLLT &rhs)
 
FactorLLT & operator= (FactorLLT &&rhs) noexcept
 
template<class ELT >
 FactorLLT (const Matrix_< ELT > &m)
 
template<class ELT >
void factor (const Matrix_< ELT > &m)
 factors a matrix
 
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side
 
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides
 
template<class ELT >
void inverse (Matrix_< ELT > &m) const
 returns the inverse of a matrix using an LLT (Cholesky) factorization
 
template<class ELT >
void getL (Matrix_< ELT > &l) const
 returns the lower triangle of an LLT factorization
 
- Public Member Functions inherited from SimTK::Factor
 Factor ()
 
template<class ELT >
 Factor (Matrix_< ELT > m)
 creates an factorization of a matrix
 
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side using a factorization
 
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides using a factorization
 

Protected Attributes

ClonePtr< FactorLLTRepBase > rep
 

Detailed Description

Class for performing LLT (Cholesky) matrix factorizations.

Constructor & Destructor Documentation

◆ ~FactorLLT()

SimTK::FactorLLT::~FactorLLT ( )

◆ FactorLLT() [1/4]

SimTK::FactorLLT::FactorLLT ( )

◆ FactorLLT() [2/4]

SimTK::FactorLLT::FactorLLT ( const FactorLLT &  c)

◆ FactorLLT() [3/4]

SimTK::FactorLLT::FactorLLT ( FactorLLT &&  c)
noexcept

◆ FactorLLT() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

FactorLLT & SimTK::FactorLLT::operator= ( FactorLLT &&  rhs)
noexcept

◆ factor()

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

factors a matrix

◆ solve() [1/2]

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

solves a single right hand side

◆ solve() [2/2]

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

solves multiple right hand sides

◆ inverse()

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

returns the inverse of a matrix using an LLT (Cholesky) factorization

◆ getL()

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

returns the lower triangle of an LLT factorization

Member Data Documentation

◆ rep

ClonePtr<FactorLLTRepBase> SimTK::FactorLLT::rep
protected

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