#include <sparsematrix.h>
Public Member Functions | |
SparseMatrixStructure (const mxArray *ptr, bool makeCopy=false) | |
SparseMatrixStructure (const SparseMatrixStructure &source) | |
~SparseMatrixStructure () | |
mwIndex | height () const |
mwIndex | width () const |
mwIndex | size () const |
mwIndex | size (mwIndex c) const |
void | getColsAndRows (int *cols, int *rows) const |
Protected Member Functions | |
SparseMatrixStructure & | operator= (const SparseMatrixStructure &source) |
Protected Attributes | |
mwIndex | nnz |
mwIndex | h |
mwIndex | w |
mwIndex * | jc |
mwIndex * | ir |
bool | owner |
Friends | |
void | copyElems (const SparseMatrixStructure &sourceStructure, const SparseMatrixStructure &destStructure, const double *sourceValues, double *destValues) |
Definition at line 32 of file sparsematrix.h.
SparseMatrixStructure::SparseMatrixStructure | ( | const mxArray * | ptr, | |
bool | makeCopy = false | |||
) | [explicit] |
SparseMatrixStructure::SparseMatrixStructure | ( | const SparseMatrixStructure & | source | ) |
SparseMatrixStructure::~SparseMatrixStructure | ( | ) |
mwIndex SparseMatrixStructure::height | ( | ) | const [inline] |
mwIndex SparseMatrixStructure::width | ( | ) | const [inline] |
mwIndex SparseMatrixStructure::size | ( | ) | const [inline] |
mwIndex SparseMatrixStructure::size | ( | mwIndex | c | ) | const |
void SparseMatrixStructure::getColsAndRows | ( | int * | cols, | |
int * | rows | |||
) | const |
SparseMatrixStructure& SparseMatrixStructure::operator= | ( | const SparseMatrixStructure & | source | ) | [inline, protected] |
Definition at line 88 of file sparsematrix.h.
void copyElems | ( | const SparseMatrixStructure & | sourceStructure, | |
const SparseMatrixStructure & | destStructure, | |||
const double * | sourceValues, | |||
double * | destValues | |||
) | [friend] |
mwIndex SparseMatrixStructure::nnz [protected] |
mwIndex SparseMatrixStructure::h [protected] |
mwIndex SparseMatrixStructure::w [protected] |
mwIndex* SparseMatrixStructure::jc [protected] |
Definition at line 81 of file sparsematrix.h.
mwIndex* SparseMatrixStructure::ir [protected] |
Definition at line 82 of file sparsematrix.h.
bool SparseMatrixStructure::owner [protected] |
Definition at line 83 of file sparsematrix.h.