Navigation

Operators and Keywords

Function List:

C++ API

intNDArray< T > Class Template Reference

#include <intNDArray.h>

Inherits MArrayN< T >.

Collaboration diagram for intNDArray< T >:

List of all members.


Public Member Functions

 intNDArray (void)
 intNDArray (T val)
 intNDArray (const dim_vector &dv)
 intNDArray (const dim_vector &dv, T val)
template<class U >
 intNDArray (const Array< U > &a)
template<class U >
 intNDArray (const MArrayN< U > &a)
template<class U >
 intNDArray (const intNDArray< U > &a)
intNDArrayoperator= (const intNDArray< T > &a)
boolNDArray operator! (void) const
bool any_element_is_nan (void) const
bool any_element_not_one_or_zero (void) const
intNDArray diag (octave_idx_type k=0) const
intNDArraychangesign (void)
boolNDArray all (int dim=-1) const
boolNDArray any (int dim=-1) const
intNDArray max (int dim=0) const
intNDArray max (Array< octave_idx_type > &index, int dim=0) const
intNDArray min (int dim=0) const
intNDArray min (Array< octave_idx_type > &index, int dim=0) const
intNDArray cummax (int dim=0) const
intNDArray cummax (Array< octave_idx_type > &index, int dim=0) const
intNDArray cummin (int dim=0) const
intNDArray cummin (Array< octave_idx_type > &index, int dim=0) const
intNDArray sum (int dim) const
NDArray dsum (int dim) const
intNDArray cumsum (int dim) const
intNDArray diff (octave_idx_type order=1, int dim=0) const
intNDArray abs (void) const
intNDArray signum (void) const
intNDArray squeeze (void) const
intNDArray transpose (void) const
intNDArray concat (const intNDArray< T > &rb, const Array< octave_idx_type > &ra_idx)
intNDArrayinsert (const intNDArray< T > &a, octave_idx_type r, octave_idx_type c)
intNDArrayinsert (const intNDArray< T > &a, const Array< octave_idx_type > &ra_idx)

Static Public Member Functions

static void increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
static octave_idx_type compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
static T resize_fill_value (void)

Protected Member Functions

 intNDArray (T *d, dim_vector &dv)

template<class T>
class intNDArray< T >


Constructor & Destructor Documentation

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

template<class T>
intNDArray< T >::intNDArray ( T  val  )  [inline]

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

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

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

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

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

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


Member Function Documentation

template<class T >
intNDArray< T > intNDArray< T >::abs ( void   )  const [inline]

template<class T >
boolNDArray intNDArray< T >::all ( int  dim = -1  )  const [inline]

template<class T >
boolNDArray intNDArray< T >::any ( int  dim = -1  )  const [inline]

template<class T>
bool intNDArray< T >::any_element_is_nan ( void   )  const [inline]

template<class T >
bool intNDArray< T >::any_element_not_one_or_zero ( void   )  const [inline]

template<class T>
intNDArray& intNDArray< T >::changesign ( void   )  [inline]

Reimplemented from MArrayN< T >.

template<class T >
octave_idx_type intNDArray< T >::compute_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions 
) [inline, static]

template<class T>
intNDArray< T > intNDArray< T >::concat ( const intNDArray< T > &  rb,
const Array< octave_idx_type > &  ra_idx 
) [inline]

template<class T >
intNDArray< T > intNDArray< T >::cummax ( Array< octave_idx_type > &  index,
int  dim = 0 
) const [inline]

template<class T >
intNDArray< T > intNDArray< T >::cummax ( int  dim = 0  )  const [inline]

template<class T >
intNDArray< T > intNDArray< T >::cummin ( Array< octave_idx_type > &  index,
int  dim = 0 
) const [inline]

template<class T >
intNDArray< T > intNDArray< T >::cummin ( int  dim = 0  )  const [inline]

template<class T >
intNDArray< T > intNDArray< T >::cumsum ( int  dim  )  const [inline]

template<class T >
intNDArray< T > intNDArray< T >::diag ( octave_idx_type  k = 0  )  const [inline]

Reimplemented from MArrayN< T >.

template<class T >
intNDArray< T > intNDArray< T >::diff ( octave_idx_type  order = 1,
int  dim = 0 
) const [inline]

template<class T >
NDArray intNDArray< T >::dsum ( int  dim  )  const [inline]

template<class T >
void intNDArray< T >::increment_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions,
int  start_dimension = 0 
) [inline, static]

template<class T>
intNDArray< T > & intNDArray< T >::insert ( const intNDArray< T > &  a,
const Array< octave_idx_type > &  ra_idx 
) [inline]

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

template<class T >
intNDArray< T > intNDArray< T >::max ( Array< octave_idx_type > &  index,
int  dim = 0 
) const [inline]

template<class T >
intNDArray< T > intNDArray< T >::max ( int  dim = 0  )  const [inline]

template<class T >
intNDArray< T > intNDArray< T >::min ( Array< octave_idx_type > &  index,
int  dim = 0 
) const [inline]

template<class T >
intNDArray< T > intNDArray< T >::min ( int  dim = 0  )  const [inline]

template<class T >
boolNDArray intNDArray< T >::operator! ( void   )  const [inline]

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

template<class T>
static T intNDArray< T >::resize_fill_value ( void   )  [inline, static]

Reimplemented from Array< T >.

template<class T >
intNDArray< T > intNDArray< T >::signum ( void   )  const [inline]

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

Reimplemented from MArrayN< T >.

template<class T >
intNDArray< T > intNDArray< T >::sum ( int  dim  )  const [inline]

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

Reimplemented from Array< T >.


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