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.
Definition at line 66 of file bpcg.h.
| 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 | |||
| ) | [inline] |
| 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 | |||
| ) | [inline] |
| void sba::jacobiBPCG< N >::mD | ( | vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, | |
| VectorXd & | vin, | |||
| VectorXd & | vout | |||
| ) | [inline, 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 | |||
| ) | [inline, private] |
| void sba::jacobiBPCG< N >::mMV2 | ( | vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > & | diag, | |
| const VectorXd & | vin, | |||
| VectorXd & | vout | |||
| ) | [inline, 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] |