Let's try templated versions. More...
#include <bpcg.h>
Public Member Functions | |
int | doBPCG (int iters, double tol, vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &diag, vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > &cols, VectorXd &x, VectorXd &b, bool abstol=false, bool verbose=false) |
int | doBPCG2 (int iters, double tol, vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &diag, vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > &cols, VectorXd &x, VectorXd &b, bool abstol=false, bool verbose=false) |
jacobiBPCG () | |
Public Attributes | |
double | residual |
Private Member Functions | |
void | mD (vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &diag, VectorXd &vin, VectorXd &vout) |
void | mMV (vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &diag, vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > &cols, const VectorXd &vin, VectorXd &vout) |
void | mMV2 (vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &diag, const VectorXd &vin, VectorXd &vout) |
Private Attributes | |
vector< int > | vcind |
vector< Matrix< double, N, N > , aligned_allocator< Matrix < double, N, N > > > | vcols |
vector< int > | vrind |
Let's try templated versions.
sba::jacobiBPCG< N >::jacobiBPCG | ( | ) | [inline] |
int sba::jacobiBPCG< N >::doBPCG | ( | int | iters, |
double | tol, | ||
vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, | ||
vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > & | cols, | ||
VectorXd & | x, | ||
VectorXd & | b, | ||
bool | abstol = false , |
||
bool | verbose = false |
||
) |
int sba::jacobiBPCG< N >::doBPCG2 | ( | int | iters, |
double | tol, | ||
vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, | ||
vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > & | cols, | ||
VectorXd & | x, | ||
VectorXd & | b, | ||
bool | abstol = false , |
||
bool | verbose = false |
||
) |
void sba::jacobiBPCG< N >::mD | ( | vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, |
VectorXd & | vin, | ||
VectorXd & | vout | ||
) | [private] |
void sba::jacobiBPCG< N >::mMV | ( | vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, |
vector< map< int, Matrix< double, N, N >, less< int >, aligned_allocator< Matrix< double, N, N > > > > & | cols, | ||
const VectorXd & | vin, | ||
VectorXd & | vout | ||
) | [private] |
void sba::jacobiBPCG< N >::mMV2 | ( | vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, |
const VectorXd & | vin, | ||
VectorXd & | vout | ||
) | [private] |
double sba::jacobiBPCG< N >::residual |
vector<int> sba::jacobiBPCG< N >::vcind [private] |
vector< Matrix<double,N,N>, aligned_allocator<Matrix<double,N,N> > > sba::jacobiBPCG< N >::vcols [private] |
vector<int> sba::jacobiBPCG< N >::vrind [private] |