Navigation

Operators and Keywords

Function List:

C++ API

MArrayN< T > Class Template Reference

#include <MArrayN.h>

Inherits Array< T >.

Collaboration diagram for MArrayN< T >:

List of all members.


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< Treshape (const dim_vector &new_dims) const
MArrayN< Tpermute (const Array< octave_idx_type > &vec, bool inv=false) const
MArrayN< Tipermute (const Array< octave_idx_type > &vec) const
MArrayN squeeze (void) const
MArrayN< Tdiag (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)

template<class T>
class MArrayN< T >


Constructor & Destructor Documentation

template<class T>
MArrayN< T >::MArrayN ( T d,
const dim_vector dv 
) [inline, protected]

template<class T>
MArrayN< T >::MArrayN ( void   )  [inline]

template<class T>
MArrayN< T >::MArrayN ( const dim_vector dv  )  [inline]

template<class T>
MArrayN< T >::MArrayN ( const dim_vector dv,
const T val 
) [inline]

template<class T>
template<class U >
MArrayN< T >::MArrayN ( const Array2< U > &  a  )  [inline, explicit]

template<class T>
template<class U >
MArrayN< T >::MArrayN ( const Array< U > &  a  )  [inline]

template<class T>
template<class U >
MArrayN< T >::MArrayN ( const MArrayN< U > &  a  )  [inline]

template<class T>
MArrayN< T >::~MArrayN ( void   )  [inline]


Member Function Documentation

template<class T>
void MArrayN< T >::changesign ( void   ) 

template<class T>
MArrayN<T> MArrayN< T >::diag ( octave_idx_type  k  )  const [inline]

template<class T>
MArrayN<T> MArrayN< T >::ipermute ( const Array< octave_idx_type > &  vec  )  const [inline]

Reimplemented from Array< T >.

template<class T>
template<class U , class F >
MArrayN<U> MArrayN< T >::map ( fcn  )  const [inline]

Reimplemented from Array< T >.

template<class T>
octave_idx_type MArrayN< T >::nnz ( void   )  const [inline]

template<class T>
MArrayN<T>& MArrayN< T >::operator= ( const MArrayN< T > &  a  )  [inline]

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

Reimplemented from Array< T >.

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

Reimplemented from Array< T >.

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


The documentation for this class was generated from the following file: