#include <MSparse.h>
Inherits Sparse< T >.
Public Member Functions | |
MSparse (void) | |
MSparse (octave_idx_type n, octave_idx_type m) | |
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 Sparse< T > &a) | |
template<class U > | |
MSparse (const Sparse< U > &a) | |
MSparse (const Array< T > &a, const idx_vector &r, const idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1) | |
MSparse (octave_idx_type r, octave_idx_type c, T val) | |
MSparse (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz) | |
~MSparse (void) | |
MSparse< T > & | operator= (const MSparse< T > &a) |
MSparse< T > & | insert (const Sparse< T > &a, octave_idx_type r, octave_idx_type c) |
MSparse< T > & | insert (const Sparse< T > &a, const Array< octave_idx_type > &indx) |
MSparse< T > | transpose (void) const |
MSparse< T > | squeeze (void) const |
MSparse< T > | reshape (const dim_vector &new_dims) const |
MSparse< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
MSparse< T > | ipermute (const Array< octave_idx_type > &vec) const |
MSparse< T > | diag (octave_idx_type k=0) const |
template<class U > | |
MSparse< U > | map (U(&fcn)(T)) const |
template<class U > | |
MSparse< U > | map (U(&fcn)(const T &)) const |
MSparse< T >::MSparse | ( | octave_idx_type | n, | |
octave_idx_type | m | |||
) | [inline] |
MSparse< T >::MSparse | ( | const dim_vector & | dv, | |
octave_idx_type | nz = 0 | |||
) | [inline] |
MSparse< T >::MSparse | ( | const MSparse< T > & | a, | |
const dim_vector & | dv | |||
) | [inline] |
MSparse< T >::MSparse | ( | const Array< T > & | a, | |
const idx_vector & | r, | |||
const idx_vector & | c, | |||
octave_idx_type | nr = -1 , |
|||
octave_idx_type | nc = -1 , |
|||
bool | sum_terms = true , |
|||
octave_idx_type | nzm = -1 | |||
) | [inline] |
MSparse< T >::MSparse | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
T | val | |||
) | [inline, explicit] |
MSparse< T >::MSparse | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
octave_idx_type | num_nz | |||
) | [inline] |
MSparse<T> MSparse< T >::diag | ( | octave_idx_type | k = 0 |
) | const [inline] |
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.
MSparse<T>& MSparse< T >::insert | ( | const Sparse< T > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inline] |
Reimplemented from Sparse< T >.
MSparse<T>& MSparse< T >::insert | ( | const Sparse< T > & | a, | |
const Array< octave_idx_type > & | indx | |||
) | [inline] |
Reimplemented from Sparse< T >.
MSparse<T> MSparse< T >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline] |
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.
MSparse<U> MSparse< T >::map | ( | U(&)(const T &) | fcn | ) | const [inline] |
Reimplemented from Sparse< T >.
Reimplemented from Sparse< T >.
MSparse<T> MSparse< T >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inline] |
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.
MSparse<T> MSparse< T >::reshape | ( | const dim_vector & | new_dims | ) | const [inline] |
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.
Reimplemented from Sparse< T >.
Reimplemented in SparseComplexMatrix, and SparseMatrix.