g2o
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
g2o::cholmod::CholmodExt Struct Reference

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

#include <cholmod_ext.h>

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

Public Member Functions

 CholmodExt ()
 
 ~CholmodExt ()
 

Public Attributes

size_t columnsAllocated = 0
 

Detailed Description

Our extension of the CHOLMOD matrix struct.

Definition at line 38 of file cholmod_ext.h.

Constructor & Destructor Documentation

◆ CholmodExt()

g2o::cholmod::CholmodExt::CholmodExt ( )
inline

Definition at line 39 of file cholmod_ext.h.

39 {
40 nzmax = 0;
41 nrow = 0;
42 ncol = 0;
43 p = nullptr;
44 i = nullptr;
45 nz = nullptr;
46 x = nullptr;
47 z = nullptr;
48 stype = 1; // upper triangular block only
49 itype = CHOLMOD_INT;
50 xtype = CHOLMOD_REAL;
51 dtype = CHOLMOD_DOUBLE;
52 sorted = 1;
53 packed = 1;
54 }

◆ ~CholmodExt()

g2o::cholmod::CholmodExt::~CholmodExt ( )
inline

Definition at line 55 of file cholmod_ext.h.

55 {
56 delete[] (int*)p;
57 p = nullptr;
58 delete[] (double*)x;
59 x = nullptr;
60 delete[] (int*)i;
61 i = nullptr;
62 }

Member Data Documentation

◆ columnsAllocated

size_t g2o::cholmod::CholmodExt::columnsAllocated = 0

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