|
qpSWIFT
A Sparse Quadratic Programming Solver
|
#include <Auxilary.h>
Data Fields | |
| qp_int * | jc |
| qp_int * | ir |
| qp_real * | pr |
| qp_int | n |
| qp_int | m |
| qp_int | nnz |
Sparse Matrix Storage Format
Use Sparse Matrix Setup to Initialise a Sparse Matrix
| 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]