Navigation

Operators and Keywords

Function List:

C++ API

ComplexNDArray Class Reference

#include <CNDArray.h>

Inherits MArrayN< Complex >.

Collaboration diagram for ComplexNDArray:

List of all members.


Public Types

typedef ComplexMatrix matrix_type
typedef double(* dmapper )(const Complex &)
typedef Complex(* cmapper )(const Complex &)
typedef bool(* bmapper )(const Complex &)

Public Member Functions

 ComplexNDArray (void)
 ComplexNDArray (const dim_vector &dv)
 ComplexNDArray (const dim_vector &dv, const Complex &val)
 ComplexNDArray (const ComplexNDArray &a)
 ComplexNDArray (const ComplexMatrix &a)
template<class U >
 ComplexNDArray (const MArrayN< U > &a)
template<class U >
 ComplexNDArray (const Array< U > &a)
 ComplexNDArray (const charNDArray &)
ComplexNDArrayoperator= (const ComplexNDArray &a)
boolNDArray operator! (void) const
bool any_element_is_nan (void) const
bool any_element_is_inf_or_nan (void) const
bool all_elements_are_real (void) const
bool all_integers (double &max_val, double &min_val) const
bool too_large_for_float (void) const
boolNDArray all (int dim=-1) const
boolNDArray any (int dim=-1) const
ComplexNDArray cumprod (int dim=-1) const
ComplexNDArray cumsum (int dim=-1) const
ComplexNDArray prod (int dim=-1) const
ComplexNDArray sum (int dim=-1) const
ComplexNDArray xsum (int dim=-1) const
ComplexNDArray sumsq (int dim=-1) const
ComplexNDArray concat (const ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
ComplexNDArray concat (const NDArray &rb, const Array< octave_idx_type > &ra_idx)
ComplexNDArray max (int dim=0) const
ComplexNDArray max (Array< octave_idx_type > &index, int dim=0) const
ComplexNDArray min (int dim=0) const
ComplexNDArray min (Array< octave_idx_type > &index, int dim=0) const
ComplexNDArray cummax (int dim=0) const
ComplexNDArray cummax (Array< octave_idx_type > &index, int dim=0) const
ComplexNDArray cummin (int dim=0) const
ComplexNDArray cummin (Array< octave_idx_type > &index, int dim=0) const
ComplexNDArray diff (octave_idx_type order=1, int dim=0) const
ComplexNDArrayinsert (const NDArray &a, octave_idx_type r, octave_idx_type c)
ComplexNDArrayinsert (const ComplexNDArray &a, octave_idx_type r, octave_idx_type c)
ComplexNDArrayinsert (const ComplexNDArray &a, const Array< octave_idx_type > &ra_idx)
NDArray abs (void) const
boolNDArray isnan (void) const
boolNDArray isinf (void) const
boolNDArray isfinite (void) const
ComplexNDArray fourier (int dim=1) const
ComplexNDArray ifourier (int dim=1) const
ComplexNDArray fourier2d (void) const
ComplexNDArray ifourier2d (void) const
ComplexNDArray fourierNd (void) const
ComplexNDArray ifourierNd (void) const
ComplexMatrix matrix_value (void) const
ComplexNDArray squeeze (void) const
ComplexNDArray diag (octave_idx_type k=0) const
ComplexNDArraychangesign (void)
NDArray map (dmapper fcn) const
ComplexNDArray 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 Complex resize_fill_value (void)

Friends

OCTAVE_API ComplexNDArray conj (const ComplexNDArray &a)
OCTAVE_API std::ostreamoperator<< (std::ostream &os, const ComplexNDArray &a)
OCTAVE_API std::istream & operator>> (std::istream &is, ComplexNDArray &a)

Member Typedef Documentation


Constructor & Destructor Documentation

ComplexNDArray::ComplexNDArray ( void   )  [inline]

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

ComplexNDArray::ComplexNDArray ( const dim_vector dv,
const Complex val 
) [inline]

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

ComplexNDArray::ComplexNDArray ( const ComplexMatrix a  )  [inline]

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

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

ComplexNDArray::ComplexNDArray ( const charNDArray a  ) 


Member Function Documentation

NDArray ComplexNDArray::abs ( void   )  const

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

bool ComplexNDArray::all_elements_are_real ( void   )  const

bool ComplexNDArray::all_integers ( double max_val,
double min_val 
) const

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

bool ComplexNDArray::any_element_is_inf_or_nan ( void   )  const

bool ComplexNDArray::any_element_is_nan ( void   )  const

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

Reimplemented from MArrayN< Complex >.

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

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

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

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

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

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

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

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

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

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

Reimplemented from MArrayN< Complex >.

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

F77_RET_T Complex *F77_RET_T Complex Complex *F77_RET_T Complex Complex *ComplexNDArray ComplexNDArray::fourier ( int  dim = 1  )  const

ComplexNDArray ComplexNDArray::fourier2d ( void   )  const

ComplexNDArray ComplexNDArray::fourierNd ( void   )  const

ComplexNDArray ComplexNDArray::ifourier ( int  dim = 1  )  const

ComplexNDArray ComplexNDArray::ifourier2d ( void   )  const

ComplexNDArray ComplexNDArray::ifourierNd ( void   )  const

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

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

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

ComplexNDArray & ComplexNDArray::insert ( const NDArray a,
octave_idx_type  r,
octave_idx_type  c 
)

boolNDArray ComplexNDArray::isfinite ( void   )  const

boolNDArray ComplexNDArray::isinf ( void   )  const

boolNDArray ComplexNDArray::isnan ( void   )  const

boolNDArray ComplexNDArray::map ( bmapper  fcn  )  const

ComplexNDArray ComplexNDArray::map ( cmapper  fcn  )  const

NDArray ComplexNDArray::map ( dmapper  fcn  )  const

ComplexMatrix ComplexNDArray::matrix_value ( void   )  const

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

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

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

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

boolNDArray ComplexNDArray::operator! ( void   )  const

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

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

static Complex ComplexNDArray::resize_fill_value ( void   )  [inline, static]

Reimplemented from Array< Complex >.

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

Reimplemented from MArrayN< Complex >.

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

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

bool ComplexNDArray::too_large_for_float ( void   )  const

ComplexNDArray ComplexNDArray::xsum ( int  dim = -1  )  const


Friends And Related Function Documentation

OCTAVE_API ComplexNDArray conj ( const ComplexNDArray a  )  [friend]

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

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


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