qpSWIFT
A Sparse Quadratic Programming Solver
smat Struct Reference

#include <Auxilary.h>

Data Fields

qp_intjc
 
qp_intir
 
qp_realpr
 
qp_int n
 
qp_int m
 
qp_int nnz
 

Detailed Description

Sparse Matrix Storage Format

Use Sparse Matrix Setup to Initialise a Sparse Matrix

Field Documentation

qp_int * smat::ir

Vector to store row indices in column major format ; Dim[nnz]

qp_int * smat::jc

Vector to store column count ; Dim [n+1]

qp_int smat::m

Number of Columns of the Sparse Matrix

qp_int smat::n

Number of Rows of the Sparse Matrix

qp_int smat::nnz

Number of nonzeros entries ; nnz = jc [n]

qp_real * smat::pr

Vector to store matrix values in column major format ; Dim[nnz]


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