|
Simbody
3.4 (development)
|
Class for performing LU matrix factorizations. More...
#include <LinearAlgebra.h>
Inheritance diagram for SimTK::FactorLU:Public Member Functions | |
| ~FactorLU () | |
| FactorLU () | |
| FactorLU (const FactorLU &c) | |
| FactorLU & | operator= (const FactorLU &rhs) |
| template<class ELT > | |
| FactorLU (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 | getL (Matrix_< ELT > &l) const |
| returns the lower triangle of an LU factorization | |
| template<class ELT > | |
| void | getU (Matrix_< ELT > &u) const |
| returns the upper triangle of an LU factorization | |
| template<class ELT > | |
| void | inverse (Matrix_< ELT > &m) const |
| returns the inverse of a matrix using an LU factorization | |
| bool | isSingular () const |
| returns true if matrix was singular | |
| int | getSingularIndex () const |
| returns the first diagonal which was found to be singular | |
Protected Attributes | |
| class FactorLURepBase * | rep |
Class for performing LU matrix factorizations.
| SimTK::FactorLU::FactorLU | ( | const FactorLU & | c | ) |
| SimTK::FactorLU::FactorLU | ( | const Matrix_< ELT > & | m | ) |
| void SimTK::FactorLU::factor | ( | const Matrix_< ELT > & | m | ) |
factors a matrix
| void SimTK::FactorLU::solve | ( | const Vector_< ELT > & | b, |
| Vector_< ELT > & | x | ||
| ) | const |
solves a single right hand side
Reimplemented from SimTK::Factor.
| void SimTK::FactorLU::solve | ( | const Matrix_< ELT > & | b, |
| Matrix_< ELT > & | x | ||
| ) | const |
solves multiple right hand sides
Reimplemented from SimTK::Factor.
| void SimTK::FactorLU::getL | ( | Matrix_< ELT > & | l | ) | const |
returns the lower triangle of an LU factorization
| void SimTK::FactorLU::getU | ( | Matrix_< ELT > & | u | ) | const |
returns the upper triangle of an LU factorization
| void SimTK::FactorLU::inverse | ( | Matrix_< ELT > & | m | ) | const |
returns the inverse of a matrix using an LU factorization
| bool SimTK::FactorLU::isSingular | ( | ) | const |
returns true if matrix was singular
| int SimTK::FactorLU::getSingularIndex | ( | ) | const |
returns the first diagonal which was found to be singular
class FactorLURepBase* SimTK::FactorLU::rep [protected] |