g2o
|
Classes | |
struct | SparseMatrixEntry |
struct | SparseMatrixEntryColSort |
Functions | |
int | cs_cholsolsymb (const cs *A, double *b, const css *S, double *x, int *work) |
csn * | cs_chol_workspace (const cs *A, const css *S, int *cin, double *xin) |
bool | writeCs2Octave (const char *filename, const cs *A, bool upperTriangular) |
G2O_CSPARSE_EXTENSION_API csn * g2o::csparse_extension::cs_chol_workspace | ( | const cs * | A, |
const css * | S, | ||
int * | cin, | ||
double * | xin | ||
) |
Originally from CSparse, avoid memory re-allocations by giving workspace pointers CSparse: Copyright (c) 2006-2011, Timothy A. Davis.
Definition at line 88 of file csparse_helper.cpp.
Referenced by cs_cholsolsymb(), g2o::LinearSolverCSparse< MatrixType >::solveBlocks(), and g2o::LinearSolverCSparse< MatrixType >::solvePattern().
G2O_CSPARSE_EXTENSION_API int g2o::csparse_extension::cs_cholsolsymb | ( | const cs * | A, |
double * | b, | ||
const css * | S, | ||
double * | x, | ||
int * | work | ||
) |
Originally from CSparse, avoid memory re-allocations by giving workspace pointers CSparse: Copyright (c) 2006-2011, Timothy A. Davis.
Definition at line 56 of file csparse_helper.cpp.
References __PRETTY_FUNCTION__, and cs_chol_workspace().
Referenced by g2o::LinearSolverCSparse< MatrixType >::solve().
G2O_CSPARSE_EXTENSION_API bool g2o::csparse_extension::writeCs2Octave | ( | const char * | filename, |
const cs * | A, | ||
bool | upperTriangular = true |
||
) |
write the sparse matrix to a file loadable with ocatve
Definition at line 145 of file csparse_helper.cpp.
References g2o::csparse_extension::SparseMatrixEntry::_c, g2o::csparse_extension::SparseMatrixEntry::_r, and g2o::csparse_extension::SparseMatrixEntry::_x.
Referenced by g2o::LinearSolverCSparse< MatrixType >::solve().