Navigation

Operators and Keywords

Function List:

C++ API

Array2< T > Class Template Reference

#include <Array2.h>

Inherits Array< T >.

Inherited by MArray2< char >, MArray2< Complex >, MArray2< double >, MArray2< float >, and MArray2< FloatComplex >.

Collaboration diagram for Array2< T >:

List of all members.


Public Member Functions

 Array2 (void)
 Array2 (octave_idx_type r, octave_idx_type c)
 Array2 (octave_idx_type r, octave_idx_type c, const T &val)
 Array2 (const dim_vector &dv)
 Array2 (const dim_vector &dv, const T &val)
 Array2 (const Array2< T > &a)
 Array2 (const Array< T > &a, octave_idx_type r, octave_idx_type c)
template<class U >
 Array2 (const Array< U > &a)
template<class U >
 Array2 (const Array< U > &a, const dim_vector &dv)
 ~Array2 (void)
Array2< T > & operator= (const Array2< T > &a)
void resize (octave_idx_type r, octave_idx_type c)
void resize (octave_idx_type r, octave_idx_type c, const T &val)
Array2< T > & insert (const Array2< T > &a, octave_idx_type r, octave_idx_type c)
Array2< Ttranspose (void) const
Array2< Thermitian (T(*fcn)(const T &)=0) const
Array2< Tindex (const idx_vector &i, bool resize_ok=false, const T &rfv=Array< T >::resize_fill_value()) const
Array2< Tindex (const idx_vector &i, const idx_vector &j, bool resize_ok=false, const T &rfv=Array< T >::resize_fill_value()) const
Array2< Tsort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
Array2< Tsort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
Array2< Tdiag (octave_idx_type k) const
template<class U , class F >
Array2< U > map (F fcn) const

Protected Member Functions

 Array2 (T *d, octave_idx_type r, octave_idx_type c)

Static Protected Member Functions

static octave_idx_type get_size (octave_idx_type r, octave_idx_type c)

template<class T>
class Array2< T >


Constructor & Destructor Documentation

template<class T>
Array2< T >::Array2 ( T d,
octave_idx_type  r,
octave_idx_type  c 
) [inline, protected]

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

template<class T>
Array2< T >::Array2 ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

template<class T>
Array2< T >::Array2 ( octave_idx_type  r,
octave_idx_type  c,
const T val 
) [inline]

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

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

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

template<class T>
Array2< T >::Array2 ( const Array< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inline]

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

template<class T>
template<class U >
Array2< T >::Array2 ( const Array< U > &  a,
const dim_vector dv 
) [inline]

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


Member Function Documentation

template<class T>
static octave_idx_type Array2< T >::get_size ( octave_idx_type  r,
octave_idx_type  c 
) [inline, static, protected]

Reimplemented from Array< T >.

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

Reimplemented from Array< T >.

Reimplemented in MArray2< T >.

template<class T>
Array2<T> Array2< T >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok = false,
const T rfv = Array<T>::resize_fill_value () 
) const [inline]

Reimplemented from Array< T >.

template<class T>
Array2<T> Array2< T >::index ( const idx_vector i,
bool  resize_ok = false,
const T rfv = Array<T>::resize_fill_value () 
) const [inline]

Reimplemented from Array< T >.

template<class T>
Array2<T>& Array2< T >::insert ( const Array2< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inline]

Reimplemented in MArray2< T >.

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

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

template<class T>
void Array2< T >::resize ( octave_idx_type  r,
octave_idx_type  c,
const T val 
) [inline]

Reimplemented from Array< T >.

template<class T>
void Array2< T >::resize ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

template<class T>
Array2<T> Array2< T >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline]

template<class T>
Array2<T> Array2< T >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline]

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


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