27#ifndef G2O_MATRIX_STRUCTURE_H
28#define G2O_MATRIX_STRUCTURE_H
49 void alloc(
int n_,
int nz);
57 bool write(std::string_view filename)
const;
int maxNz
size of the allocated memory
int maxN
size of the allocated memory
bool write(std::string_view filename) const
int * Aii
row indices of A, of size nz = Ap [n]
int m
A is m-by-n. m must be >= 0.
int n
A is m-by-n. n must be >= 0.
int nzMax() const
max number of non-zeros blocks
void alloc(int n_, int nz)
int * Ap
column pointers for A, of size n+1