25 #if !defined (octave_MArray_h)
26 #define octave_MArray_h 1
46 :
Array<T> (sdata, slen, adims, arep) { }
56 :
Array<T> (dv, val) { }
75 bool inv =
false)
const
101 void changesign (
void);
MArray< T > permute(const Array< octave_idx_type > &vec, bool inv=false) const
MArray squeeze(void) const
Array< T > permute(const Array< octave_idx_type > &vec, bool inv=false) const
MArray< T > transpose(void) const
MArray< T > ipermute(const Array< octave_idx_type > &vec) const
MArray(const dim_vector &dv)
MArray(T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep)
Array< T > transpose(void) const
static const octave_idx_type idx_max
Array< T > squeeze(void) const
Chop off leading singleton dimensions.
MArray(const Array< U > &a)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
Handles the reference counting for all the derived classes.
Array< T > hermitian(T(*fcn)(const T &)=0) const
MArray(const MArray< T > &a)
#define MARRAY_OPS_FORWARD_DECLS(A_T, API)
Array< T > reshape(octave_idx_type nr, octave_idx_type nc) const
Array< T > ipermute(const Array< octave_idx_type > &vec) const
MArray(const dim_vector &dv, const T &val)
MArray< T > reshape(const dim_vector &new_dims) const
Array< T > & operator=(const Array< T > &a)