#include <Sparse.h>
Public Member Functions | |
SparseRep (void) | |
SparseRep (octave_idx_type n) | |
SparseRep (octave_idx_type nr, octave_idx_type nc) | |
SparseRep (octave_idx_type nr, octave_idx_type nc, octave_idx_type nz) | |
SparseRep (const SparseRep &a) | |
~SparseRep (void) | |
octave_idx_type | length (void) const |
octave_idx_type | nnz (void) const |
T & | elem (octave_idx_type _r, octave_idx_type _c) |
T | celem (octave_idx_type _r, octave_idx_type _c) const |
T & | data (octave_idx_type i) |
T | cdata (octave_idx_type i) const |
octave_idx_type & | ridx (octave_idx_type i) |
octave_idx_type | cridx (octave_idx_type i) const |
octave_idx_type & | cidx (octave_idx_type i) |
octave_idx_type | ccidx (octave_idx_type i) const |
void | maybe_compress (bool remove_zeros) |
void | change_length (octave_idx_type nz) |
bool | indices_ok (void) const |
Public Attributes | |
T * | d |
octave_idx_type * | r |
octave_idx_type * | c |
octave_idx_type | nzmx |
octave_idx_type | nrows |
octave_idx_type | ncols |
int | count |
Sparse< T >::Sparse::SparseRep::SparseRep | ( | octave_idx_type | n | ) | [inline] |
Sparse< T >::Sparse::SparseRep::SparseRep | ( | octave_idx_type | nr, | |
octave_idx_type | nc | |||
) | [inline] |
Sparse< T >::Sparse::SparseRep::SparseRep | ( | octave_idx_type | nr, | |
octave_idx_type | nc, | |||
octave_idx_type | nz | |||
) | [inline] |
octave_idx_type Sparse< T >::Sparse::SparseRep::ccidx | ( | octave_idx_type | i | ) | const [inline] |
T Sparse< T >::Sparse::SparseRep::cdata | ( | octave_idx_type | i | ) | const [inline] |
T Sparse< T >::Sparse::SparseRep::celem | ( | octave_idx_type | _r, | |
octave_idx_type | _c | |||
) | const |
void Sparse< T >::Sparse::SparseRep::change_length | ( | octave_idx_type | nz | ) |
octave_idx_type& Sparse< T >::Sparse::SparseRep::cidx | ( | octave_idx_type | i | ) | [inline] |
octave_idx_type Sparse< T >::Sparse::SparseRep::cridx | ( | octave_idx_type | i | ) | const [inline] |
T& Sparse< T >::Sparse::SparseRep::data | ( | octave_idx_type | i | ) | [inline] |
T& Sparse< T >::Sparse::SparseRep::elem | ( | octave_idx_type | _r, | |
octave_idx_type | _c | |||
) |
octave_idx_type Sparse< T >::Sparse::SparseRep::length | ( | void | ) | const [inline] |
octave_idx_type Sparse< T >::Sparse::SparseRep::nnz | ( | void | ) | const [inline] |
octave_idx_type& Sparse< T >::Sparse::SparseRep::ridx | ( | octave_idx_type | i | ) | [inline] |
octave_idx_type* Sparse< T >::Sparse::SparseRep::c |
int Sparse< T >::Sparse::SparseRep::count |
T* Sparse< T >::Sparse::SparseRep::d |
octave_idx_type Sparse< T >::Sparse::SparseRep::ncols |
octave_idx_type Sparse< T >::Sparse::SparseRep::nrows |
octave_idx_type Sparse< T >::Sparse::SparseRep::nzmx |
octave_idx_type* Sparse< T >::Sparse::SparseRep::r |