1 #ifndef SimTK_LINEAR_ALGEBRA_H_
2 #define SimTK_LINEAR_ALGEBRA_H_
62 class FactorLURepBase;
78 template <
class ELT>
void factor(
const Matrix_<ELT>& m );
92 bool isSingular()
const;
94 int getSingularIndex()
const;
98 class FactorLURepBase *
rep;
103 class FactorQTZRepBase;
122 template <
typename ELT>
void factor(
const Matrix_<ELT>& m);
124 template <
typename ELT>
void factor(
const Matrix_<ELT>& m,
float rcond );
126 template <
typename ELT>
void factor(
const Matrix_<ELT>& m,
double rcond );
137 double getRCondEstimate()
const;
141 class FactorQTZRepBase *
rep;
158 template <
class ELT>
void factor(
const Matrix_<ELT>& m );
162 template <
class T>
void getAllEigenValues(
Vector_<T>& values);
165 template <
class VAL,
class VEC>
void getFewEigenValuesAndVectors(
Vector_<VAL>& values,
Matrix_<VEC>& vectors,
int ilow,
int ihi);
167 template <
class T>
void getFewEigenVectors(
Matrix_<T>& vectors,
int ilow,
int ihi );
169 template <
class T>
void getFewEigenValues(
Vector_<T>& values,
int ilow,
int ihi );
206 template <
class ELT >
void factor(
const Matrix_<ELT>& m );
209 template <
class ELT >
void factor(
const Matrix_<ELT>& m,
float rcond );
212 template <
class ELT >
void factor(
const Matrix_<ELT>& m,
double rcond );
218 template <
class T >
void getSingularValues(
Vector_<T>& values);
231 class FactorSVDRepBase *
rep;
237 #endif //SimTK_LINEAR_ALGEBRA_H_