Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
sba::jacobiBPCG< N > Class Template Reference

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
 

Detailed Description

template<int N>
class sba::jacobiBPCG< N >

Let's try templated versions.

Definition at line 65 of file bpcg.h.

Constructor & Destructor Documentation

◆ jacobiBPCG()

template<int N>
sba::jacobiBPCG< N >::jacobiBPCG ( )
inline

Definition at line 68 of file bpcg.h.

Member Function Documentation

◆ doBPCG()

template<int N>
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 
)

Definition at line 178 of file bpcg.h.

◆ doBPCG2()

template<int N>
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 
)

Definition at line 238 of file bpcg.h.

◆ mD()

template<int N>
void sba::jacobiBPCG< N >::mD ( vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &  diag,
VectorXd &  vin,
VectorXd &  vout 
)
private

Definition at line 167 of file bpcg.h.

◆ mMV()

template<int N>
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

Definition at line 110 of file bpcg.h.

◆ mMV2()

template<int N>
void sba::jacobiBPCG< N >::mMV2 ( vector< Matrix< double, N, N >, aligned_allocator< Matrix< double, N, N > > > &  diag,
const VectorXd &  vin,
VectorXd &  vout 
)
private

Definition at line 143 of file bpcg.h.

Member Data Documentation

◆ residual

template<int N>
double sba::jacobiBPCG< N >::residual

Definition at line 88 of file bpcg.h.

◆ vcind

template<int N>
vector<int> sba::jacobiBPCG< N >::vcind
private

Definition at line 105 of file bpcg.h.

◆ vcols

template<int N>
vector< Matrix<double,N,N>, aligned_allocator<Matrix<double,N,N> > > sba::jacobiBPCG< N >::vcols
private

Definition at line 106 of file bpcg.h.

◆ vrind

template<int N>
vector<int> sba::jacobiBPCG< N >::vrind
private

Definition at line 105 of file bpcg.h.


The documentation for this class was generated from the following file:


sparse_bundle_adjustment
Author(s):
autogenerated on Wed Mar 2 2022 01:03:04