SparseMatrixStructure Class Reference

#include <sparsematrix.h>

List of all members.

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

SparseMatrixStructureoperator= (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)


Detailed Description

Definition at line 32 of file sparsematrix.h.


Constructor & Destructor Documentation

SparseMatrixStructure::SparseMatrixStructure ( const mxArray *  ptr,
bool  makeCopy = false 
) [explicit]

SparseMatrixStructure::SparseMatrixStructure ( const SparseMatrixStructure source  ) 

SparseMatrixStructure::~SparseMatrixStructure (  ) 


Member Function Documentation

mwIndex SparseMatrixStructure::height (  )  const [inline]

Definition at line 51 of file sparsematrix.h.

References h.

mwIndex SparseMatrixStructure::width (  )  const [inline]

Definition at line 52 of file sparsematrix.h.

References w.

mwIndex SparseMatrixStructure::size (  )  const [inline]

Definition at line 55 of file sparsematrix.h.

References nnz.

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.


Friends And Related Function Documentation

void copyElems ( const SparseMatrixStructure sourceStructure,
const SparseMatrixStructure destStructure,
const double *  sourceValues,
double *  destValues 
) [friend]


Member Data Documentation

mwIndex SparseMatrixStructure::nnz [protected]

Definition at line 78 of file sparsematrix.h.

Referenced by size().

mwIndex SparseMatrixStructure::h [protected]

Definition at line 79 of file sparsematrix.h.

Referenced by height().

mwIndex SparseMatrixStructure::w [protected]

Definition at line 80 of file sparsematrix.h.

Referenced by width().

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.


The documentation for this class was generated from the following file:
Generated on Thu May 15 22:26:48 2008 by  doxygen 1.4.7