#include <MArrayN.h>
Inherits Array< T >.
Public Member Functions | |
MArrayN (void) | |
MArrayN (const dim_vector &dv) | |
MArrayN (const dim_vector &dv, const T &val) | |
template<class U > | |
MArrayN (const Array2< U > &a) | |
template<class U > | |
MArrayN (const Array< U > &a) | |
template<class U > | |
MArrayN (const MArrayN< U > &a) | |
~MArrayN (void) | |
MArrayN< T > & | operator= (const MArrayN< T > &a) |
octave_idx_type | nnz (void) const |
MArrayN< T > | reshape (const dim_vector &new_dims) const |
MArrayN< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
MArrayN< T > | ipermute (const Array< octave_idx_type > &vec) const |
MArrayN | squeeze (void) const |
MArrayN< T > | diag (octave_idx_type k) const |
template<class U , class F > | |
MArrayN< U > | map (F fcn) const |
void | changesign (void) |
Protected Member Functions | |
MArrayN (T *d, const dim_vector &dv) |
MArrayN< T >::MArrayN | ( | const dim_vector & | dv | ) | [inline] |
MArrayN< T >::MArrayN | ( | const Array2< U > & | a | ) | [inline, explicit] |
Reimplemented in ComplexNDArray, NDArray, FloatComplexNDArray, FloatNDArray, intNDArray< T >, and intNDArray< OCTAVE_INT_T >.
MArrayN<T> MArrayN< T >::diag | ( | octave_idx_type | k | ) | const [inline] |
Reimplemented from Array< T >.
Reimplemented in charNDArray, ComplexNDArray, NDArray, FloatComplexNDArray, FloatNDArray, intNDArray< T >, and intNDArray< OCTAVE_INT_T >.
MArrayN<T> MArrayN< T >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline] |
Reimplemented from Array< T >.
MArrayN<U> MArrayN< T >::map | ( | F | fcn | ) | const [inline] |
Reimplemented from Array< T >.
octave_idx_type MArrayN< T >::nnz | ( | void | ) | const [inline] |
MArrayN<T> MArrayN< T >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inline] |
Reimplemented from Array< T >.
Reimplemented from Array< T >.
Reimplemented from Array< T >.
Reimplemented in charNDArray, ComplexNDArray, NDArray, FloatComplexNDArray, FloatNDArray, intNDArray< T >, and intNDArray< OCTAVE_INT_T >.