#include <csparse.h>
Public Member Functions | |
void | addDiagBlock (Matrix< double, 3, 3 > &m, int n) |
void | addOffdiagBlock (Matrix< double, 3, 3 > &m, int ii, int jj) |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | CSparse2d () |
int | doBPCG (int iters, double tol, int sba_iter) |
bool | doChol () |
int | doPCG (int iters) |
void | incDiagBlocks (double lam) |
void | setupBlockStructure (int n, bool eraseit=true) |
void | setupCSstructure (double diaginc, bool init=false) |
void | uncompress (MatrixXd &m) |
~CSparse2d () | |
Public Attributes | |
cs * | A |
cs * | AF |
int | asize |
VectorXd | B |
jacobiBPCG< 3 > | bpcg |
VectorXd | Bprev |
vector< map< int, Matrix < double, 3, 3 >, less< int > , aligned_allocator< Matrix < double, 3, 3 > > > > | cols |
int | csize |
vector< Matrix< double, 3, 3 > , aligned_allocator< Matrix < double, 3, 3 > > > | diag |
int | nnz |
bool | useCholmod |
Definition at line 402 of file csparse.cpp.
Definition at line 417 of file csparse.cpp.
void sba::CSparse2d::addDiagBlock | ( | Matrix< double, 3, 3 > & | m, |
int | n | ||
) | [inline] |
void sba::CSparse2d::addOffdiagBlock | ( | Matrix< double, 3, 3 > & | m, |
int | ii, | ||
int | jj | ||
) |
Definition at line 472 of file csparse.cpp.
int sba::CSparse2d::doBPCG | ( | int | iters, |
double | tol, | ||
int | sba_iter | ||
) |
Definition at line 738 of file csparse.cpp.
bool sba::CSparse2d::doChol | ( | ) |
Definition at line 660 of file csparse.cpp.
int sba::CSparse2d::doPCG | ( | int | iters | ) |
void sba::CSparse2d::incDiagBlocks | ( | double | lam | ) |
Definition at line 488 of file csparse.cpp.
void sba::CSparse2d::setupBlockStructure | ( | int | n, |
bool | eraseit = true |
||
) |
Definition at line 425 of file csparse.cpp.
void sba::CSparse2d::setupCSstructure | ( | double | diaginc, |
bool | init = false |
||
) |
Definition at line 501 of file csparse.cpp.
void sba::CSparse2d::uncompress | ( | MatrixXd & | m | ) |
Definition at line 640 of file csparse.cpp.
cs * sba::CSparse2d::AF |
VectorXd sba::CSparse2d::B |
VectorXd sba::CSparse2d::Bprev |
vector< map<int,Matrix<double,3,3>, less<int>, aligned_allocator<Matrix<double,3,3> > > > sba::CSparse2d::cols |
vector< Matrix<double,3,3>, aligned_allocator<Matrix<double,3,3> > > sba::CSparse2d::diag |