SuperSCS  1.3.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
scs_cs_sparse Struct Reference

Matrix in compressed-column or triplet form. More...

#include <cs.h>

Data Fields

scs_int nzmax
 maximum number of entries More...
 
scs_int m
 number of rows More...
 
scs_int n
 number of columns More...
 
scs_intp
 column pointers (size n+1) or col indices (size nzmax) More...
 
scs_inti
 row indices, size nzmax More...
 
scs_floatx
 numerical values, size nzmax More...
 
scs_int nz
 Number of entries in triplet matrix, -1 for compressed-col. More...
 

Detailed Description

Matrix in compressed-column or triplet form.

This is a subset of the routines in the CSPARSE package by Tim Davis et. al. For the full package please visit http://www.cise.ufl.edu/research/sparse/CSparse/.

Note
In order to avoid conflicts in case some users want to load both SuperSCS and CSPARSE in their project, we have prepended the prefix scs_ in all function names here (although not necessary, we did it in static functions for uniformity.

Field Documentation

scs_int* i

row indices, size nzmax

number of rows

number of columns

scs_int nz

Number of entries in triplet matrix, -1 for compressed-col.

scs_int nzmax

maximum number of entries

scs_int* p

column pointers (size n+1) or col indices (size nzmax)

numerical values, size nzmax


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