#include <csparse.h>
Public Member Functions | |
void | addDiagBlock (Matrix< double, 6, 6 > &m, int n) |
void | addOffdiagBlock (Matrix< double, 6, 6 > &m, int ii, int jj) |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | CSparse () |
int | doBPCG (int iters, double tol, int sba_iter) |
bool | doChol () |
void | incDiagBlocks (double lam) |
void | setupBlockStructure (int n) |
void | setupCSstructure (double diaginc, bool init=false) |
void | uncompress (MatrixXd &m) |
~CSparse () | |
Public Attributes | |
cs * | A |
int | asize |
VectorXd | B |
jacobiBPCG< 6 > | bpcg |
vector< map< int, Matrix < double, 6, 6 >, less< int > , aligned_allocator< Matrix < double, 6, 6 > > > > | cols |
int | csize |
vector< Matrix< double, 6, 6 > , aligned_allocator< Matrix < double, 6, 6 > > > | diag |
int | nnz |
bool | useCholmod |
Definition at line 81 of file csparse.h.
sba::CSparse::CSparse | ( | ) |
Definition at line 74 of file csparse.cpp.
sba::CSparse::~CSparse | ( | ) |
Definition at line 87 of file csparse.cpp.
void sba::CSparse::addDiagBlock | ( | Matrix< double, 6, 6 > & | m, | |
int | n | |||
) | [inline] |
void sba::CSparse::addOffdiagBlock | ( | Matrix< double, 6, 6 > & | m, | |
int | ii, | |||
int | jj | |||
) |
Definition at line 131 of file csparse.cpp.
int sba::CSparse::doBPCG | ( | int | iters, | |
double | tol, | |||
int | sba_iter | |||
) |
Definition at line 384 of file csparse.cpp.
bool sba::CSparse::doChol | ( | ) |
Definition at line 307 of file csparse.cpp.
void sba::CSparse::incDiagBlocks | ( | double | lam | ) |
Definition at line 124 of file csparse.cpp.
void sba::CSparse::setupBlockStructure | ( | int | n | ) |
Definition at line 94 of file csparse.cpp.
void sba::CSparse::setupCSstructure | ( | double | diaginc, | |
bool | init = false | |||
) |
Definition at line 151 of file csparse.cpp.
void sba::CSparse::uncompress | ( | MatrixXd & | m | ) |
Definition at line 287 of file csparse.cpp.
cs* sba::CSparse::A |
VectorXd sba::CSparse::B |
jacobiBPCG<6> sba::CSparse::bpcg |
vector< map<int,Matrix<double,6,6>, less<int>, aligned_allocator<Matrix<double,6,6> > > > sba::CSparse::cols |
vector< Matrix<double,6,6>, aligned_allocator<Matrix<double,6,6> > > sba::CSparse::diag |