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;
65 int nzMax()
const {
return maxNz; }
representing the structure of a matrix in column compressed structure (only the upper triangular part...
int maxNz
size of the allocated memory
int maxN
size of the allocated memory
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
int * Ap
column pointers for A, of size n+1