g2o
|
linear solver using dense cholesky decomposition More...
#include <linear_solver_dense.h>
Public Member Functions | |
LinearSolverDense () | |
virtual | ~LinearSolverDense () |
virtual bool | init () |
bool | solve (const SparseBlockMatrix< MatrixType > &A, double *x, double *b) |
Public Member Functions inherited from g2o::LinearSolver< MatrixType > | |
LinearSolver () | |
virtual | ~LinearSolver () |
virtual bool | solveBlocks (double **&blocks, const SparseBlockMatrix< MatrixType > &A) |
virtual bool | solvePattern (SparseBlockMatrix< MatrixXD > &spinv, const std::vector< std::pair< int, int > > &blockIndices, const SparseBlockMatrix< MatrixType > &A) |
virtual bool | writeDebug () const |
write a debug dump of the system matrix if it is not PSD in solve More... | |
virtual void | setWriteDebug (bool) |
Protected Attributes | |
bool | _reset |
MatrixXD | _H |
Eigen::LDLT< MatrixXD > | _cholesky |
linear solver using dense cholesky decomposition
Definition at line 46 of file linear_solver_dense.h.
|
inline |
Definition at line 49 of file linear_solver_dense.h.
|
inlinevirtual |
Definition at line 55 of file linear_solver_dense.h.
|
inlinevirtual |
init for operating on matrices with a different non-zero pattern like before
Implements g2o::LinearSolver< MatrixType >.
Definition at line 59 of file linear_solver_dense.h.
References g2o::LinearSolverDense< MatrixType >::_reset.
|
inlinevirtual |
Assumes that A is the same matrix for several calls. Among other assumptions, the non-zero pattern does not change! If the matrix changes call init() before. solve system Ax = b, x and b have to allocated beforehand!!
Implements g2o::LinearSolver< MatrixType >.
Definition at line 65 of file linear_solver_dense.h.
References g2o::LinearSolverDense< MatrixType >::_cholesky, g2o::LinearSolverDense< MatrixType >::_H, g2o::LinearSolverDense< MatrixType >::_reset, g2o::SparseBlockMatrix< MatrixType >::blockCols(), g2o::SparseBlockMatrix< MatrixType >::colBaseOfBlock(), g2o::SparseBlockMatrix< MatrixType >::cols(), g2o::SparseBlockMatrix< MatrixType >::colsOfBlock(), g2o::SparseBlockMatrix< MatrixType >::rowBaseOfBlock(), g2o::SparseBlockMatrix< MatrixType >::rowsOfBlock(), and g2o::SparseBlockMatrix< MatrixType >::transpose().
|
protected |
Definition at line 118 of file linear_solver_dense.h.
Referenced by g2o::LinearSolverDense< MatrixType >::solve().
|
protected |
Definition at line 117 of file linear_solver_dense.h.
Referenced by g2o::LinearSolverDense< MatrixType >::solve().
|
protected |
Definition at line 116 of file linear_solver_dense.h.
Referenced by g2o::LinearSolverDense< MatrixType >::init(), and g2o::LinearSolverDense< MatrixType >::solve().