csc

Matrix in compressed-column form. The structure is used internally to store matrices in the triplet form as well, but the API requires that the matrices are in the CSC format.

Members

Variables

i
c_int* i;

< row indices, size nzmax starting from 0

m
c_int m;

< number of rows

n
c_int n;

< number of columns

nz
c_int nz;

< number of entries in triplet matrix, -1 for csc

nzmax
c_int nzmax;

< maximum number of entries

p
c_int* p;

< column pointers (size n+1); col indices (size nzmax) start from 0 when using triplet format (direct KKT matrix formation)

x
c_float* x;

< numerical values, size nzmax

Meta