#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 () |
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 |
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 72 of file csparse.cpp.
Definition at line 87 of file csparse.cpp.
void CSparse2d::addDiagBlock | ( | Matrix< double, 3, 3 > & | m, |
int | n | ||
) | [inline] |
void CSparse2d::addOffdiagBlock | ( | Matrix< double, 3, 3 > & | m, |
int | ii, | ||
int | jj | ||
) |
Definition at line 146 of file csparse.cpp.
bool CSparse2d::doChol | ( | ) |
Definition at line 334 of file csparse.cpp.
int CSparse2d::doPCG | ( | int | iters | ) |
void CSparse2d::incDiagBlocks | ( | double | lam | ) |
Definition at line 162 of file csparse.cpp.
void CSparse2d::setupBlockStructure | ( | int | n, |
bool | eraseit = true |
||
) |
Definition at line 95 of file csparse.cpp.
void CSparse2d::setupCSstructure | ( | double | diaginc, |
bool | init = false |
||
) |
Definition at line 175 of file csparse.cpp.
void CSparse2d::uncompress | ( | MatrixXd & | m | ) |
Definition at line 314 of file csparse.cpp.
cs* CSparse2d::A |
cs * CSparse2d::AF |
int CSparse2d::asize |
VectorXd CSparse2d::B |
VectorXd CSparse2d::Bprev |
vector< map<int,Matrix<double,3,3>, less<int>, aligned_allocator<Matrix<double,3,3> > > > CSparse2d::cols |
int CSparse2d::csize |
vector< Matrix<double,3,3>, aligned_allocator<Matrix<double,3,3> > > CSparse2d::diag |
int CSparse2d::nnz |