Navigation

Operators and Keywords

Function List:

C++ API

MArray< T > Class Template Reference

#include <MArray.h>

Inherits Array< T >.

Inherited by intNDArray< T >.

Collaboration diagram for MArray< T >:

List of all members.

Public Member Functions

 MArray (void)
 MArray (octave_idx_type n) GCC_ATTR_DEPRECATED
 MArray (octave_idx_type n, const T &val) GCC_ATTR_DEPRECATED
 MArray (const dim_vector &dv)
 MArray (const dim_vector &dv, const T &val)
 MArray (const MArray< T > &a)
template<class U >
 MArray (const Array< U > &a)
 ~MArray (void)
MArray< T > & operator= (const MArray< T > &a)
MArray< T > reshape (const dim_vector &new_dims) const
MArray< T > permute (const Array< octave_idx_type > &vec, bool inv=false) const
MArray< T > ipermute (const Array< octave_idx_type > &vec) const
MArray squeeze (void) const
MArray< T > transpose (void) const
MArray< T > hermitian (T(*fcn)(const T &)=0) const
void idx_add (const idx_vector &idx, T val)
void idx_add (const idx_vector &idx, const MArray< T > &vals)
void idx_min (const idx_vector &idx, const MArray< T > &vals)
void idx_max (const idx_vector &idx, const MArray< T > &vals)
void idx_add_nd (const idx_vector &idx, const MArray< T > &vals, int dim=-1)
void changesign (void)

template<class T>
class MArray< T >


Constructor & Destructor Documentation

template<class T>
MArray< T >::MArray ( void   )  [inline]
template<class T>
MArray< T >::MArray ( octave_idx_type  n  )  [inline, explicit]
template<class T>
MArray< T >::MArray ( octave_idx_type  n,
const T &  val 
) [inline]
template<class T>
MArray< T >::MArray ( const dim_vector dv  )  [inline, explicit]
template<class T>
MArray< T >::MArray ( const dim_vector dv,
const T &  val 
) [inline, explicit]
template<class T>
MArray< T >::MArray ( const MArray< T > &  a  )  [inline]
template<class T>
template<class U >
MArray< T >::MArray ( const Array< U > &  a  )  [inline]
template<class T>
MArray< T >::~MArray ( void   )  [inline]

Member Function Documentation

template<class T >
void MArray< T >::changesign ( void   ) 
template<class T>
MArray<T> MArray< T >::hermitian ( T(*)(const T &)  fcn = 0  )  const [inline]

Reimplemented from Array< T >.

template<class T>
void MArray< T >::idx_add ( const idx_vector idx,
val 
)
template<class T>
void MArray< T >::idx_add ( const idx_vector idx,
const MArray< T > &  vals 
)
template<class T>
void MArray< T >::idx_add_nd ( const idx_vector idx,
const MArray< T > &  vals,
int  dim = -1 
)
template<class T>
void MArray< T >::idx_max ( const idx_vector idx,
const MArray< T > &  vals 
)
template<class T>
void MArray< T >::idx_min ( const idx_vector idx,
const MArray< T > &  vals 
)
template<class T>
MArray<T> MArray< T >::ipermute ( const Array< octave_idx_type > &  vec  )  const [inline]

Reimplemented from Array< T >.

template<class T>
MArray<T>& MArray< T >::operator= ( const MArray< T > &  a  )  [inline]
template<class T>
MArray<T> MArray< T >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const [inline]

Reimplemented from Array< T >.

template<class T>
MArray<T> MArray< T >::reshape ( const dim_vector new_dims  )  const [inline]

Reimplemented from Array< T >.

template<class T>
MArray MArray< T >::squeeze ( void   )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines