Navigation

Operators and Keywords

Function List:

C++ API

MArray< T > Class Template Reference

#include <MArray.h>

Inherits Array< T >.

Collaboration diagram for MArray< T >:

List of all members.


Public Member Functions

 MArray (void)
 MArray (octave_idx_type n)
 MArray (octave_idx_type n, const T &val)
 MArray (const MArray< T > &a)
 MArray (const Array< T > &a)
 MArray (const dim_vector &dv)
 ~MArray (void)
MArray< T > & operator= (const MArray< T > &a)
void resize (octave_idx_type n, const T &val=Array< T >::resize_fill_value())
MArray< Ttranspose (void) const
MArray< Thermitian (T(*fcn)(const T &)=0) const
octave_idx_type nnz (void) const
double norm (double p) const
float norm (float p) const
template<class U , class F >
MArray< U > map (F fcn) const
void idx_add (const idx_vector &idx, T val)
void idx_add (const idx_vector &idx, const MArray< T > &vals)

Protected Member Functions

 MArray (T *d, octave_idx_type l)

template<class T>
class MArray< T >


Constructor & Destructor Documentation

template<class T>
MArray< T >::MArray ( T d,
octave_idx_type  l 
) [inline, protected]

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 MArray< T > &  a  )  [inline]

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

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

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


Member Function Documentation

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,
const MArray< T > &  vals 
) [inline]

template<class T>
void MArray< T >::idx_add ( const idx_vector idx,
T  val 
) [inline]

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

Reimplemented from Array< T >.

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

template<class T >
float MArray< T >::norm ( float  p  )  const [inline]

template<class T >
double MArray< T >::norm ( double  p  )  const [inline]

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

template<class T>
void MArray< T >::resize ( octave_idx_type  n,
const T val = Array<T>::resize_fill_value () 
) [inline]

Reimplemented from Array< T >.

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


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