linear solver which allows to update the cholesky factor More...
#include <linear_solver_cholmod_online.h>
Public Member Functions | |
bool | blockOrdering () const |
int | choleskyUpdate (cholmod_sparse *update) |
void | computeSymbolicDecomposition (const SparseBlockMatrix< MatrixType > &A) |
void | fillCholmodExt (const SparseBlockMatrix< MatrixType > &A, bool onlyValues) |
virtual bool | init () |
cholmod_factor * | L () const |
LinearSolverCholmodOnline () | |
bool | solve (const SparseBlockMatrix< MatrixType > &A, double *x, double *b) |
bool | solve (double *x, double *b) |
virtual | ~LinearSolverCholmodOnline () |
Protected Attributes | |
bool | _blockOrdering |
VectorXi | _blockPermutation |
cholmod_common | _cholmodCommon |
cholmod_factor * | _cholmodFactor |
CholmodExt * | _cholmodSparse |
MatrixStructure | _matrixStructure |
VectorXi | _scalarPermutation |
linear solver which allows to update the cholesky factor
Definition at line 44 of file linear_solver_cholmod_online.h.
g2o::LinearSolverCholmodOnline< MatrixType >::LinearSolverCholmodOnline | ( | ) | [inline] |
Definition at line 47 of file linear_solver_cholmod_online.h.
virtual g2o::LinearSolverCholmodOnline< MatrixType >::~LinearSolverCholmodOnline | ( | ) | [inline, virtual] |
Definition at line 63 of file linear_solver_cholmod_online.h.
bool g2o::LinearSolverCholmodOnline< MatrixType >::blockOrdering | ( | ) | const [inline] |
Definition at line 115 of file linear_solver_cholmod_online.h.
int g2o::LinearSolverCholmodOnline< MatrixType >::choleskyUpdate | ( | cholmod_sparse * | update | ) | [inline, virtual] |
Implements g2o::LinearSolverCholmodOnlineInterface.
Definition at line 119 of file linear_solver_cholmod_online.h.
void g2o::LinearSolverCholmodOnline< MatrixType >::computeSymbolicDecomposition | ( | const SparseBlockMatrix< MatrixType > & | A | ) | [inline] |
Definition at line 157 of file linear_solver_cholmod_online.h.
void g2o::LinearSolverCholmodOnline< MatrixType >::fillCholmodExt | ( | const SparseBlockMatrix< MatrixType > & | A, |
bool | onlyValues | ||
) | [inline] |
Definition at line 200 of file linear_solver_cholmod_online.h.
virtual bool g2o::LinearSolverCholmodOnline< MatrixType >::init | ( | ) | [inline, virtual] |
init for operating on matrices with a different non-zero pattern like before
Implements g2o::LinearSolver< MatrixType >.
Definition at line 73 of file linear_solver_cholmod_online.h.
cholmod_factor* g2o::LinearSolverCholmodOnline< MatrixType >::L | ( | ) | const [inline, virtual] |
Implements g2o::LinearSolverCholmodOnlineInterface.
Definition at line 117 of file linear_solver_cholmod_online.h.
bool g2o::LinearSolverCholmodOnline< MatrixType >::solve | ( | const SparseBlockMatrix< MatrixType > & | A, |
double * | x, | ||
double * | b | ||
) | [inline, virtual] |
Assumes that A has the same non-zero pattern over several calls. If the pattern changes call init() before. solve system Ax = b, x and b have to allocated beforehand!!
Implements g2o::LinearSolver< MatrixType >.
Definition at line 78 of file linear_solver_cholmod_online.h.
bool g2o::LinearSolverCholmodOnline< MatrixType >::solve | ( | double * | x, |
double * | b | ||
) | [inline, virtual] |
Implements g2o::LinearSolverCholmodOnlineInterface.
Definition at line 131 of file linear_solver_cholmod_online.h.
bool g2o::LinearSolverCholmodOnline< MatrixType >::_blockOrdering [protected] |
Definition at line 152 of file linear_solver_cholmod_online.h.
VectorXi g2o::LinearSolverCholmodOnline< MatrixType >::_blockPermutation [protected] |
Definition at line 154 of file linear_solver_cholmod_online.h.
cholmod_common g2o::LinearSolverCholmodOnline< MatrixType >::_cholmodCommon [protected] |
Definition at line 149 of file linear_solver_cholmod_online.h.
cholmod_factor* g2o::LinearSolverCholmodOnline< MatrixType >::_cholmodFactor [protected] |
Definition at line 151 of file linear_solver_cholmod_online.h.
CholmodExt* g2o::LinearSolverCholmodOnline< MatrixType >::_cholmodSparse [protected] |
Definition at line 150 of file linear_solver_cholmod_online.h.
MatrixStructure g2o::LinearSolverCholmodOnline< MatrixType >::_matrixStructure [protected] |
Definition at line 153 of file linear_solver_cholmod_online.h.
VectorXi g2o::LinearSolverCholmodOnline< MatrixType >::_scalarPermutation [protected] |
Definition at line 154 of file linear_solver_cholmod_online.h.