g2o
Public Member Functions | Public Attributes | List of all members
g2o::CholmodExt Struct Reference

Our extension of the CHOLMOD matrix struct. More...

#include <linear_solver_cholmod.h>

Inheritance diagram for g2o::CholmodExt:
Inheritance graph
[legend]
Collaboration diagram for g2o::CholmodExt:
Collaboration graph
[legend]

Public Member Functions

 CholmodExt ()
 
 ~CholmodExt ()
 

Public Attributes

size_t columnsAllocated
 

Detailed Description

Our extension of the CHOLMOD matrix struct.

Definition at line 43 of file linear_solver_cholmod.h.

Constructor & Destructor Documentation

g2o::CholmodExt::CholmodExt ( )
inline

Definition at line 45 of file linear_solver_cholmod.h.

References columnsAllocated.

Referenced by g2o::LinearSolverCholmod< MatrixType >::LinearSolverCholmod().

46  {
47  nzmax = 0;
48  nrow = 0;
49  ncol = 0;
50  p = 0;
51  i = 0;
52  nz = 0;
53  x = 0;
54  z = 0;
55  stype = 1; // upper triangular block only
56  itype = CHOLMOD_INT;
57  xtype = CHOLMOD_REAL;
58  dtype = CHOLMOD_DOUBLE;
59  sorted = 1;
60  packed = 1;
61  columnsAllocated = 0;
62  }
g2o::CholmodExt::~CholmodExt ( )
inline

Definition at line 63 of file linear_solver_cholmod.h.

64  {
65  delete[] (int*)p; p = 0;
66  delete[] (double*)x; x = 0;
67  delete[] (int*)i; i = 0;
68  }

Member Data Documentation

size_t g2o::CholmodExt::columnsAllocated

The documentation for this struct was generated from the following file: