Public Member Functions | Public Attributes | List of all members
sba::CSparse Class Reference

#include <csparse.h>

Public Member Functions

void addDiagBlock (Matrix< double, 6, 6 > &m, int n)
 
void addOffdiagBlock (Matrix< double, 6, 6 > &m, int ii, int jj)
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CSparse ()
 
int doBPCG (int iters, double tol, int sba_iter)
 
bool doChol ()
 
void incDiagBlocks (double lam)
 
void setupBlockStructure (int n)
 
void setupCSstructure (double diaginc, bool init=false)
 
void uncompress (MatrixXd &m)
 
 ~CSparse ()
 

Public Attributes

cs * A
 
int asize
 
VectorXd B
 
jacobiBPCG< 6 > bpcg
 
vector< map< int, Matrix< double, 6, 6 >, less< int >, aligned_allocator< Matrix< double, 6, 6 > > > > cols
 
int csize
 
vector< Matrix< double, 6, 6 >, aligned_allocator< Matrix< double, 6, 6 > > > diag
 
int nnz
 
bool useCholmod
 

Detailed Description

Definition at line 81 of file csparse.h.

Constructor & Destructor Documentation

◆ CSparse()

sba::CSparse::CSparse ( )

Definition at line 73 of file csparse.cpp.

◆ ~CSparse()

sba::CSparse::~CSparse ( )

Definition at line 86 of file csparse.cpp.

Member Function Documentation

◆ addDiagBlock()

void sba::CSparse::addDiagBlock ( Matrix< double, 6, 6 > &  m,
int  n 
)
inline

Definition at line 101 of file csparse.h.

◆ addOffdiagBlock()

void sba::CSparse::addOffdiagBlock ( Matrix< double, 6, 6 > &  m,
int  ii,
int  jj 
)

Definition at line 130 of file csparse.cpp.

◆ doBPCG()

int sba::CSparse::doBPCG ( int  iters,
double  tol,
int  sba_iter 
)

Definition at line 383 of file csparse.cpp.

◆ doChol()

bool sba::CSparse::doChol ( )

Definition at line 306 of file csparse.cpp.

◆ incDiagBlocks()

void sba::CSparse::incDiagBlocks ( double  lam)

Definition at line 123 of file csparse.cpp.

◆ setupBlockStructure()

void sba::CSparse::setupBlockStructure ( int  n)

Definition at line 93 of file csparse.cpp.

◆ setupCSstructure()

void sba::CSparse::setupCSstructure ( double  diaginc,
bool  init = false 
)

Definition at line 150 of file csparse.cpp.

◆ uncompress()

void sba::CSparse::uncompress ( MatrixXd &  m)

Definition at line 286 of file csparse.cpp.

Member Data Documentation

◆ A

cs* sba::CSparse::A

Definition at line 118 of file csparse.h.

◆ asize

int sba::CSparse::asize

Definition at line 114 of file csparse.h.

◆ B

VectorXd sba::CSparse::B

Definition at line 121 of file csparse.h.

◆ bpcg

jacobiBPCG<6> sba::CSparse::bpcg

Definition at line 133 of file csparse.h.

◆ cols

vector< map<int,Matrix<double,6,6>, less<int>, aligned_allocator<Matrix<double,6,6> > > > sba::CSparse::cols

Definition at line 96 of file csparse.h.

◆ csize

int sba::CSparse::csize

Definition at line 114 of file csparse.h.

◆ diag

vector< Matrix<double,6,6>, aligned_allocator<Matrix<double,6,6> > > sba::CSparse::diag

Definition at line 93 of file csparse.h.

◆ nnz

int sba::CSparse::nnz

Definition at line 115 of file csparse.h.

◆ useCholmod

bool sba::CSparse::useCholmod

Definition at line 124 of file csparse.h.


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


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