Navigation

Operators and Keywords

Function List:

C++ API

charNDArray Class Reference

#include <chNDArray.h>

Inherits MArrayN< char >.

Collaboration diagram for charNDArray:

List of all members.


Public Types

typedef charMatrix matrix_type
typedef int(* mapper )(int)

Public Member Functions

 charNDArray (void)
 charNDArray (const dim_vector &dv)
 charNDArray (const dim_vector &dv, char val)
 charNDArray (const charNDArray &a)
 charNDArray (const charMatrix &a)
 charNDArray (char c)
 charNDArray (const char *s)
 charNDArray (const std::string &s)
 charNDArray (const string_vector &s)
 charNDArray (const Array< char > &a)
charNDArrayoperator= (const charNDArray &a)
bool any_element_is_nan (void) const
boolNDArray all (int dim=-1) const
boolNDArray any (int dim=-1) const
charNDArray concat (const charNDArray &rb, const Array< octave_idx_type > &ra_idx)
charNDArray concat (const NDArray &rb, const Array< octave_idx_type > &ra_idx)
charNDArrayinsert (const charNDArray &a, octave_idx_type r, octave_idx_type c)
charNDArrayinsert (const charNDArray &a, const Array< octave_idx_type > &ra_idx)
charMatrix matrix_value (void) const
charNDArray squeeze (void) const
charNDArray diag (octave_idx_type k=0) const
boolNDArray bmap (mapper fcn) const
NDArray dmap (mapper fcn) const
charNDArray smap (mapper 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 char resize_fill_value (void)

Member Typedef Documentation


Constructor & Destructor Documentation

charNDArray::charNDArray ( void   )  [inline]

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

charNDArray::charNDArray ( const dim_vector dv,
char  val 
) [inline]

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

charNDArray::charNDArray ( const charMatrix a  )  [inline]

charNDArray::charNDArray ( char  c  )  [inline]

charNDArray::charNDArray ( const char *  s  )  [inline]

charNDArray::charNDArray ( const std::string s  )  [inline]

charNDArray::charNDArray ( const string_vector s  )  [inline]

charNDArray::charNDArray ( const Array< char > &  a  )  [inline]


Member Function Documentation

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

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

bool charNDArray::any_element_is_nan ( void   )  const [inline]

boolNDArray charNDArray::bmap ( mapper  fcn  )  const

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

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

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

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

Reimplemented from MArrayN< char >.

NDArray charNDArray::dmap ( mapper  fcn  )  const

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

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

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

charMatrix charNDArray::matrix_value ( void   )  const

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

static char charNDArray::resize_fill_value ( void   )  [inline, static]

Reimplemented from Array< char >.

charNDArray charNDArray::smap ( mapper  fcn  )  const

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

Reimplemented from MArrayN< char >.


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