|
g2o
|
#include <csparse_wrapper.h>
Classes | |
| struct | FactorView |
| View onto the cholesky factor. More... | |
| class | Impl |
| struct | SparseView |
| View onto the sparse matrix structure of CSparse using CCS storage. More... | |
Public Member Functions | |
| CSparse () | |
| ~CSparse () | |
| bool | factorize () |
| bool | hasFactor () const |
| void | freeFactor () |
| FactorView | factor () |
| bool | amd (const SparseView &sparseView, VectorXI &result) |
| compute AMD ordering on the given SparseView, store into result | |
| int | choleskyNz () const |
| bool | solve (double *x, double *b) const |
| bool | analyze () |
| bool | analyze_p (int *permutation) |
| bool | hasSymbolic () const |
| void | freeSymbolic () |
| SparseView | sparseView () |
| bool | writeSparse (const std::string &filename) const |
Private Attributes | |
| std::unique_ptr< Impl > | pImpl |
Definition at line 38 of file csparse_wrapper.h.
| g2o::csparse::CSparse::CSparse | ( | ) |
Definition at line 104 of file csparse_wrapper.cpp.
|
default |
| bool g2o::csparse::CSparse::amd | ( | const SparseView & | sparseView, |
| VectorXI & | result | ||
| ) |
compute AMD ordering on the given SparseView, store into result
Definition at line 117 of file csparse_wrapper.cpp.
References g2o::csparse::CSparse::SparseView::i, g2o::csparse::CSparse::SparseView::m, g2o::csparse::CSparse::SparseView::n, g2o::csparse::CSparse::SparseView::nzmax, g2o::csparse::CSparse::SparseView::p, and sparseView().
Referenced by g2o::LinearSolverCSparse< MatrixType >::computeSymbolicDecomposition().
| bool g2o::csparse::CSparse::analyze | ( | ) |
Definition at line 160 of file csparse_wrapper.cpp.
References freeSymbolic(), and pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::computeSymbolicDecomposition().
| bool g2o::csparse::CSparse::analyze_p | ( | int * | permutation | ) |
Definition at line 166 of file csparse_wrapper.cpp.
References freeSymbolic(), and pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::computeSymbolicDecomposition().
| int g2o::csparse::CSparse::choleskyNz | ( | ) | const |
Definition at line 189 of file csparse_wrapper.cpp.
References pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::solve(), and g2o::LinearSolverCSparse< MatrixType >::solveBlocks_impl().
| CSparse::FactorView g2o::csparse::CSparse::factor | ( | ) |
Definition at line 144 of file csparse_wrapper.cpp.
References factor(), g2o::csparse::CSparse::FactorView::i, g2o::csparse::CSparse::FactorView::n, g2o::csparse::CSparse::FactorView::p, pImpl, and g2o::csparse::CSparse::FactorView::x.
Referenced by factor(), and g2o::LinearSolverCSparse< MatrixType >::solveBlocks_impl().
| bool g2o::csparse::CSparse::factorize | ( | ) |
Definition at line 194 of file csparse_wrapper.cpp.
References g2o::csparse_extension::cs_chol_workspace(), freeFactor(), and pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::solveBlocks_impl().
| void g2o::csparse::CSparse::freeFactor | ( | ) |
Definition at line 108 of file csparse_wrapper.cpp.
References pImpl.
Referenced by factorize(), and g2o::LinearSolverCSparse< MatrixType >::solveBlocks_impl().
| void g2o::csparse::CSparse::freeSymbolic | ( | ) |
Definition at line 208 of file csparse_wrapper.cpp.
References pImpl.
Referenced by analyze(), analyze_p(), and g2o::LinearSolverCSparse< MatrixType >::init().
| bool g2o::csparse::CSparse::hasFactor | ( | ) | const |
| bool g2o::csparse::CSparse::hasSymbolic | ( | ) | const |
Definition at line 204 of file csparse_wrapper.cpp.
References pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::prepareSolve().
| bool g2o::csparse::CSparse::solve | ( | double * | x, |
| double * | b | ||
| ) | const |
Definition at line 150 of file csparse_wrapper.cpp.
References g2o::csparse_extension::cs_cholsolsymb(), and pImpl.
Referenced by g2o::LinearSolverCSparse< MatrixType >::solve().
| CSparse::SparseView g2o::csparse::CSparse::sparseView | ( | ) |
Definition at line 138 of file csparse_wrapper.cpp.
References g2o::csparse::CSparseExt::columnsAllocated, and pImpl.
Referenced by amd(), and g2o::LinearSolverCSparse< MatrixType >::fillCSparse().
| bool g2o::csparse::CSparse::writeSparse | ( | const std::string & | filename | ) | const |
Definition at line 215 of file csparse_wrapper.cpp.
References pImpl, and g2o::csparse_extension::writeCs2Octave().
Referenced by g2o::LinearSolverCSparse< MatrixType >::solve().
|
private |
Definition at line 97 of file csparse_wrapper.h.
Referenced by analyze(), analyze_p(), choleskyNz(), factor(), factorize(), freeFactor(), freeSymbolic(), hasFactor(), hasSymbolic(), solve(), sparseView(), and writeSparse().