|
| MSparse () |
|
| MSparse (const Array< T > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1) |
|
| MSparse (const dim_vector &dv, octave_idx_type nz=0) |
|
| MSparse (const MSparse< T > &a) |
|
| MSparse (const MSparse< T > &a, const dim_vector &dv) |
|
| MSparse (const PermMatrix &a) |
|
| MSparse (const Sparse< T > &a) |
|
template<typename U > |
| MSparse (const Sparse< U > &a) |
|
| MSparse (octave_idx_type n, octave_idx_type m) |
|
| MSparse (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz) |
|
| MSparse (octave_idx_type r, octave_idx_type c, T val) |
|
| ~MSparse ()=default |
|
MSparse< T > | diag (octave_idx_type k=0) const |
|
MSparse< T > & | insert (const Sparse< T > &a, const Array< octave_idx_type > &indx) |
|
MSparse< T > & | insert (const Sparse< T > &a, octave_idx_type r, octave_idx_type c) |
|
MSparse< T > | ipermute (const Array< octave_idx_type > &vec) const |
|
template<typename U > |
Sparse< U > | map (U(&fcn)(const T &)) const |
|
template<typename U > |
Sparse< U > | map (U(&fcn)(T)) const |
|
MSparse< T > & | operator= (const MSparse< T > &a) |
|
MSparse< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
|
MSparse< T > | reshape (const dim_vector &new_dims) const |
|
MSparse< T > | squeeze () const |
|
MSparse< T > | transpose () const |
|
| Sparse () |
|
| Sparse (const Array< T > &a) |
|
| Sparse (const Array< T > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1) |
|
| Sparse (const dim_vector &dv) |
|
| Sparse (const dim_vector &dv, octave_idx_type nz) |
|
| Sparse (const dim_vector &dv, octave_idx_type nz, T *ptr, octave_idx_type *ridx, octave_idx_type *cidx, const Alloc &xallocator=Alloc()) |
|
| Sparse (const PermMatrix &a) |
|
| Sparse (const Sparse< T, Alloc > &a) |
|
| Sparse (const Sparse< T, Alloc > &a, const dim_vector &dv) |
|
| Sparse (const Sparse< U > &a) |
|
| Sparse (octave_idx_type n) |
|
| Sparse (octave_idx_type nr, octave_idx_type nc) |
|
| Sparse (octave_idx_type nr, octave_idx_type nc, octave_idx_type nz) |
|
| Sparse (octave_idx_type nr, octave_idx_type nc, T val) |
|
virtual | ~Sparse () |
|
bool | any_element_is_nan () const |
|
Array< T > | array_value () const |
|
void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Sparse< T, Alloc > &rhs) |
|
void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const T &rhs) |
|
void | assign (const octave::idx_vector &i, const Sparse< T, Alloc > &rhs) |
|
void | assign (const octave::idx_vector &i, const T &rhs) |
|
std::size_t | byte_size () const |
|
void | change_capacity (octave_idx_type nz) |
|
T & | checkelem (const Array< octave_idx_type > &ra_idx) |
|
T | checkelem (const Array< octave_idx_type > &ra_idx) const |
|
T & | checkelem (octave_idx_type i, octave_idx_type j) |
|
T | checkelem (octave_idx_type i, octave_idx_type j) const |
|
T & | checkelem (octave_idx_type n) |
|
T | checkelem (octave_idx_type n) const |
|
octave_idx_type * | cidx () |
|
octave_idx_type * | cidx () const |
|
octave_idx_type & | cidx (octave_idx_type i) |
|
octave_idx_type | cidx (octave_idx_type i) const |
|
octave_idx_type | cols () const |
|
octave_idx_type | columns () const |
|
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
|
T * | data () |
|
T * | data () const |
|
T & | data (octave_idx_type i) |
|
T | data (octave_idx_type i) const |
|
void | delete_elements (const octave::idx_vector &i) |
|
void | delete_elements (const octave::idx_vector &i, const octave::idx_vector &j) |
|
void | delete_elements (int dim, const octave::idx_vector &i) |
|
Sparse< T, Alloc > | diag (octave_idx_type k=0) const |
|
octave_idx_type | dim1 () const |
|
octave_idx_type | dim2 () const |
|
dim_vector | dims () const |
|
T & | elem (const Array< octave_idx_type > &ra_idx) |
|
T | elem (const Array< octave_idx_type > &ra_idx) const |
|
T & | elem (octave_idx_type i, octave_idx_type j) |
|
T | elem (octave_idx_type i, octave_idx_type j) const |
|
T & | elem (octave_idx_type n) |
|
T | elem (octave_idx_type n) const |
|
octave_idx_type | get_col_index (octave_idx_type k) |
|
octave_idx_type | get_row_index (octave_idx_type k) |
|
Sparse< T, Alloc > | index (const octave::idx_vector &i, bool resize_ok=false) const |
|
Sparse< T, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok=false) const |
|
bool | indices_ok () const |
|
Sparse< T, Alloc > & | insert (const Sparse< T, Alloc > &a, const Array< octave_idx_type > &idx) |
|
Sparse< T, Alloc > & | insert (const Sparse< T, Alloc > &a, octave_idx_type r, octave_idx_type c) |
|
Sparse< T, Alloc > | ipermute (const Array< octave_idx_type > &vec) const |
|
bool | isempty () const |
|
bool | issquare () const |
|
Sparse< U > | map (F fcn) const |
|
Sparse< U > | map (U(&fcn)(const T &)) const |
|
Sparse< U > | map (U(&fcn)(T)) const |
|
Sparse< T, Alloc > | maybe_compress (bool remove_zeros=false) |
|
octave_idx_type | ndims () const |
|
octave_idx_type | nnz () const |
| Actual number of nonzero terms. More...
|
|
octave_idx_type | numel () const |
|
octave_idx_type | nzmax () const |
| Amount of storage for nonzero elements. More...
|
|
T & | operator() (const Array< octave_idx_type > &ra_idx) |
|
T | operator() (const Array< octave_idx_type > &ra_idx) const |
|
T & | operator() (octave_idx_type i, octave_idx_type j) |
|
T | operator() (octave_idx_type i, octave_idx_type j) const |
|
T & | operator() (octave_idx_type n) |
|
T | operator() (octave_idx_type n) const |
|
Sparse< T, Alloc > & | operator= (const Sparse< T, Alloc > &a) |
|
Sparse< T, Alloc > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
|
void | print_info (std::ostream &os, const std::string &prefix) const |
|
OCTAVE_NORETURN T & | range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) |
|
OCTAVE_NORETURN T | range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const |
|
OCTAVE_NORETURN T & | range_error (const char *fcn, octave_idx_type i, octave_idx_type j) |
|
OCTAVE_NORETURN T | range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const |
|
OCTAVE_NORETURN T & | range_error (const char *fcn, octave_idx_type n) |
|
OCTAVE_NORETURN T | range_error (const char *fcn, octave_idx_type n) const |
|
Sparse< T, Alloc > | reshape (const dim_vector &new_dims) const |
|
void | resize (const dim_vector &dv) |
|
void | resize (octave_idx_type r, octave_idx_type c) |
|
void | resize1 (octave_idx_type n) |
|
octave_idx_type * | ridx () |
|
octave_idx_type * | ridx () const |
|
octave_idx_type & | ridx (octave_idx_type i) |
|
octave_idx_type | ridx (octave_idx_type i) const |
|
octave_idx_type | rows () const |
|
Sparse< T, Alloc > | sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const |
|
Sparse< T, Alloc > | sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const |
|
Sparse< T, Alloc > | squeeze () const |
|
bool | test (F fcn) const |
|
bool | test_all (bool(&fcn)(const T &)) const |
|
bool | test_all (bool(&fcn)(T)) const |
|
bool | test_all (F fcn) const |
|
bool | test_any (bool(&fcn)(const T &)) const |
|
bool | test_any (bool(&fcn)(T)) const |
|
bool | test_any (F fcn) const |
|
Sparse< T, Alloc > | transpose () const |
|
octave_idx_type * | xcidx () |
|
octave_idx_type & | xcidx (octave_idx_type i) |
|
T * | xdata () |
|
T & | xdata (octave_idx_type i) |
|
T & | xelem (const Array< octave_idx_type > &ra_idx) |
|
T | xelem (const Array< octave_idx_type > &ra_idx) const |
|
T & | xelem (octave_idx_type i, octave_idx_type j) |
|
T | xelem (octave_idx_type i, octave_idx_type j) const |
|
T & | xelem (octave_idx_type n) |
|
T | xelem (octave_idx_type n) const |
|
octave_idx_type * | xridx () |
|
octave_idx_type & | xridx (octave_idx_type i) |
|
template<typename T>
class MSparse< T >
Definition at line 43 of file MSparse.h.