Navigation

Operators and Keywords

Function List:

C++ API

FloatNDArray Class Reference

#include <fNDArray.h>

Inherits MArrayN< float >.

Collaboration diagram for FloatNDArray:

List of all members.


Public Types

typedef FloatMatrix matrix_type
typedef float(* dmapper )(float)
typedef FloatComplex(* cmapper )(const FloatComplex &)
typedef bool(* bmapper )(float)

Public Member Functions

 FloatNDArray (void)
 FloatNDArray (const dim_vector &dv)
 FloatNDArray (const dim_vector &dv, float val)
 FloatNDArray (const FloatNDArray &a)
 FloatNDArray (const FloatMatrix &a)
template<class U >
 FloatNDArray (const MArrayN< U > &a)
template<class U >
 FloatNDArray (const Array< U > &a)
template<class U >
 FloatNDArray (const intNDArray< U > &a)
 FloatNDArray (const charNDArray &)
FloatNDArrayoperator= (const FloatNDArray &a)
boolNDArray operator! (void) const
bool any_element_is_negative (bool=false) const
bool any_element_is_nan (void) const
bool any_element_is_inf_or_nan (void) const
bool any_element_not_one_or_zero (void) const
bool all_elements_are_zero (void) const
bool all_elements_are_int_or_inf_or_nan (void) const
bool all_integers (float &max_val, float &min_val) const
bool too_large_for_float (void) const
boolNDArray all (int dim=-1) const
boolNDArray any (int dim=-1) const
FloatNDArray cumprod (int dim=-1) const
FloatNDArray cumsum (int dim=-1) const
FloatNDArray prod (int dim=-1) const
FloatNDArray sum (int dim=-1) const
NDArray dsum (int dim=-1) const
FloatNDArray sumsq (int dim=-1) const
FloatNDArray concat (const FloatNDArray &rb, const Array< octave_idx_type > &ra_idx)
FloatComplexNDArray concat (const FloatComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
charNDArray concat (const charNDArray &rb, const Array< octave_idx_type > &ra_idx)
FloatNDArray max (int dim=0) const
FloatNDArray max (Array< octave_idx_type > &index, int dim=0) const
FloatNDArray min (int dim=0) const
FloatNDArray min (Array< octave_idx_type > &index, int dim=0) const
FloatNDArray cummax (int dim=0) const
FloatNDArray cummax (Array< octave_idx_type > &index, int dim=0) const
FloatNDArray cummin (int dim=0) const
FloatNDArray cummin (Array< octave_idx_type > &index, int dim=0) const
FloatNDArray diff (octave_idx_type order=1, int dim=0) const
FloatNDArrayinsert (const FloatNDArray &a, octave_idx_type r, octave_idx_type c)
FloatNDArrayinsert (const FloatNDArray &a, const Array< octave_idx_type > &ra_idx)
FloatNDArray abs (void) const
boolNDArray isnan (void) const
boolNDArray isinf (void) const
boolNDArray isfinite (void) const
FloatComplexNDArray fourier (int dim=1) const
FloatComplexNDArray ifourier (int dim=1) const
FloatComplexNDArray fourier2d (void) const
FloatComplexNDArray ifourier2d (void) const
FloatComplexNDArray fourierNd (void) const
FloatComplexNDArray ifourierNd (void) const
FloatMatrix matrix_value (void) const
FloatNDArray squeeze (void) const
FloatNDArray diag (octave_idx_type k=0) const
FloatNDArraychangesign (void)
FloatNDArray map (dmapper fcn) const
FloatComplexNDArray map (cmapper fcn) const
boolNDArray map (bmapper fcn) const

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 float resize_fill_value (void)

Friends

class FloatComplexNDArray
OCTAVE_API FloatNDArray real (const FloatComplexNDArray &a)
OCTAVE_API FloatNDArray imag (const FloatComplexNDArray &a)
OCTAVE_API std::ostreamoperator<< (std::ostream &os, const FloatNDArray &a)
OCTAVE_API std::istream & operator>> (std::istream &is, FloatNDArray &a)

Member Typedef Documentation


Constructor & Destructor Documentation

FloatNDArray::FloatNDArray ( void   )  [inline]

FloatNDArray::FloatNDArray ( const dim_vector dv  )  [inline]

FloatNDArray::FloatNDArray ( const dim_vector dv,
float  val 
) [inline]

FloatNDArray::FloatNDArray ( const FloatNDArray a  )  [inline]

FloatNDArray::FloatNDArray ( const FloatMatrix a  )  [inline]

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

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

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

FloatNDArray::FloatNDArray ( const charNDArray a  ) 


Member Function Documentation

FloatNDArray FloatNDArray::abs ( void   )  const

boolNDArray FloatNDArray::all ( int  dim = -1  )  const

bool FloatNDArray::all_elements_are_int_or_inf_or_nan ( void   )  const

bool FloatNDArray::all_elements_are_zero ( void   )  const

bool FloatNDArray::all_integers ( float max_val,
float min_val 
) const

boolNDArray FloatNDArray::any ( int  dim = -1  )  const

bool FloatNDArray::any_element_is_inf_or_nan ( void   )  const

bool FloatNDArray::any_element_is_nan ( void   )  const

bool FloatNDArray::any_element_is_negative ( bool  neg_zero = false  )  const

bool FloatNDArray::any_element_not_one_or_zero ( void   )  const

FloatNDArray& FloatNDArray::changesign ( void   )  [inline]

Reimplemented from MArrayN< float >.

octave_idx_type FloatNDArray::compute_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions 
) [static]

charNDArray FloatNDArray::concat ( const charNDArray rb,
const Array< octave_idx_type > &  ra_idx 
)

FloatComplexNDArray FloatNDArray::concat ( const FloatComplexNDArray rb,
const Array< octave_idx_type > &  ra_idx 
)

FloatNDArray FloatNDArray::concat ( const FloatNDArray rb,
const Array< octave_idx_type > &  ra_idx 
)

FloatNDArray FloatNDArray::cummax ( Array< octave_idx_type > &  index,
int  dim = 0 
) const

FloatNDArray FloatNDArray::cummax ( int  dim = 0  )  const

FloatNDArray FloatNDArray::cummin ( Array< octave_idx_type > &  index,
int  dim = 0 
) const

FloatNDArray FloatNDArray::cummin ( int  dim = 0  )  const

FloatNDArray FloatNDArray::cumprod ( int  dim = -1  )  const

FloatNDArray FloatNDArray::cumsum ( int  dim = -1  )  const

FloatNDArray FloatNDArray::diag ( octave_idx_type  k = 0  )  const

Reimplemented from MArrayN< float >.

FloatNDArray FloatNDArray::diff ( octave_idx_type  order = 1,
int  dim = 0 
) const

NDArray FloatNDArray::dsum ( int  dim = -1  )  const

F77_RET_T FloatComplex *F77_RET_T FloatComplex FloatComplex *F77_RET_T FloatComplex FloatComplex *FloatComplexNDArray FloatNDArray::fourier ( int  dim = 1  )  const

FloatComplexNDArray FloatNDArray::fourier2d ( void   )  const

FloatComplexNDArray FloatNDArray::fourierNd ( void   )  const

FloatComplexNDArray FloatNDArray::ifourier ( int  dim = 1  )  const

FloatComplexNDArray FloatNDArray::ifourier2d ( void   )  const

FloatComplexNDArray FloatNDArray::ifourierNd ( void   )  const

void FloatNDArray::increment_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions,
int  start_dimension = 0 
) [static]

FloatNDArray & FloatNDArray::insert ( const FloatNDArray a,
const Array< octave_idx_type > &  ra_idx 
)

FloatNDArray & FloatNDArray::insert ( const FloatNDArray a,
octave_idx_type  r,
octave_idx_type  c 
)

boolNDArray FloatNDArray::isfinite ( void   )  const

boolNDArray FloatNDArray::isinf ( void   )  const

boolNDArray FloatNDArray::isnan ( void   )  const

boolNDArray FloatNDArray::map ( bmapper  fcn  )  const

FloatComplexNDArray FloatNDArray::map ( cmapper  fcn  )  const

FloatNDArray FloatNDArray::map ( dmapper  fcn  )  const

FloatMatrix FloatNDArray::matrix_value ( void   )  const

FloatNDArray FloatNDArray::max ( Array< octave_idx_type > &  index,
int  dim = 0 
) const

FloatNDArray FloatNDArray::max ( int  dim = 0  )  const

FloatNDArray FloatNDArray::min ( Array< octave_idx_type > &  index,
int  dim = 0 
) const

FloatNDArray FloatNDArray::min ( int  dim = 0  )  const

boolNDArray FloatNDArray::operator! ( void   )  const

FloatNDArray& FloatNDArray::operator= ( const FloatNDArray a  )  [inline]

FloatNDArray FloatNDArray::prod ( int  dim = -1  )  const

static float FloatNDArray::resize_fill_value ( void   )  [inline, static]

Reimplemented from Array< float >.

FloatNDArray FloatNDArray::squeeze ( void   )  const [inline]

Reimplemented from MArrayN< float >.

FloatNDArray FloatNDArray::sum ( int  dim = -1  )  const

FloatNDArray FloatNDArray::sumsq ( int  dim = -1  )  const

bool FloatNDArray::too_large_for_float ( void   )  const


Friends And Related Function Documentation

friend class FloatComplexNDArray [friend]

OCTAVE_API FloatNDArray imag ( const FloatComplexNDArray a  )  [friend]

OCTAVE_API std::ostream& operator<< ( std::ostream os,
const FloatNDArray a 
) [friend]

OCTAVE_API std::istream& operator>> ( std::istream &  is,
FloatNDArray a 
) [friend]

OCTAVE_API FloatNDArray real ( const FloatComplexNDArray a  )  [friend]


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