Ipopt
3.12.12
|
#include <sparsematrix.hpp>
Public Member Functions | |
SparseMatrix (const mxArray *ptr) | |
~SparseMatrix () | |
int | numelems () const |
int | numelems (int c) const |
void | getColsAndRows (int *cols, int *rows) const |
bool | copyto (SparseMatrix &dest) const |
void | copyto (double *dest) const |
Static Public Member Functions | |
static int | getSizeOfSparseMatrix (const mxArray *ptr) |
static bool | isLowerTri (const mxArray *ptr) |
static bool | inIncOrder (const mxArray *ptr) |
Protected Attributes | |
int | h |
int | w |
int | nnz |
mwIndex * | jc |
mwIndex * | ir |
double * | x |
Friends | |
int | height (const SparseMatrix &A) |
int | width (const SparseMatrix &A) |
Definition at line 34 of file sparsematrix.hpp.
|
explicit |
SparseMatrix::~SparseMatrix | ( | ) |
|
inline |
Definition at line 58 of file sparsematrix.hpp.
int SparseMatrix::numelems | ( | int | c | ) | const |
void SparseMatrix::getColsAndRows | ( | int * | cols, |
int * | rows | ||
) | const |
bool SparseMatrix::copyto | ( | SparseMatrix & | dest | ) | const |
void SparseMatrix::copyto | ( | double * | dest | ) | const |
|
static |
|
static |
|
static |
|
friend |
Definition at line 52 of file sparsematrix.hpp.
|
friend |
Definition at line 53 of file sparsematrix.hpp.
|
protected |
Definition at line 92 of file sparsematrix.hpp.
|
protected |
Definition at line 93 of file sparsematrix.hpp.
|
protected |
Definition at line 94 of file sparsematrix.hpp.
|
protected |
Definition at line 95 of file sparsematrix.hpp.
|
protected |
Definition at line 96 of file sparsematrix.hpp.
|
protected |
Definition at line 97 of file sparsematrix.hpp.