Navigation

Operators and Keywords

Function List:

C++ API

boolNDArray Class Reference

#include <boolNDArray.h>

Inherits Array< bool >.

Collaboration diagram for boolNDArray:

List of all members.


Public Types

typedef boolMatrix matrix_type

Public Member Functions

 boolNDArray (void)
 boolNDArray (const dim_vector &dv)
 boolNDArray (const dim_vector &dv, const bool &val)
 boolNDArray (const boolNDArray &a)
 boolNDArray (const boolMatrix &a)
 boolNDArray (const Array< bool > &a)
boolNDArrayoperator= (const boolNDArray &a)
boolNDArray operator! (void) const
boolNDArrayinvert (void)
bool any_element_is_nan (void) const
boolNDArray all (int dim=-1) const
boolNDArray any (int dim=-1) const
NDArray sum (int dim=-1) const
NDArray cumsum (int dim=-1) const
boolNDArray concat (const boolNDArray &rb, const Array< octave_idx_type > &ra_idx)
boolNDArrayinsert (const boolNDArray &a, octave_idx_type r, octave_idx_type c)
boolNDArrayinsert (const boolNDArray &a, const Array< octave_idx_type > &ra_idx)
boolMatrix matrix_value (void) const
boolNDArray squeeze (void) const
octave_idx_type nnz (void) const
boolNDArray diag (octave_idx_type k=0) 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 bool resize_fill_value (void)

Member Typedef Documentation


Constructor & Destructor Documentation

boolNDArray::boolNDArray ( void   )  [inline]

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

boolNDArray::boolNDArray ( const dim_vector dv,
const bool val 
) [inline]

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

boolNDArray::boolNDArray ( const boolMatrix a  )  [inline]

boolNDArray::boolNDArray ( const Array< bool > &  a  )  [inline]


Member Function Documentation

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

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

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

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

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

NDArray boolNDArray::cumsum ( int  dim = -1  )  const

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

Reimplemented from Array< bool >.

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

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

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

boolNDArray & boolNDArray::invert ( void   ) 

boolMatrix boolNDArray::matrix_value ( void   )  const

octave_idx_type boolNDArray::nnz ( void   )  const [inline]

boolNDArray boolNDArray::operator! ( void   )  const

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

static bool boolNDArray::resize_fill_value ( void   )  [inline, static]

Reimplemented from Array< bool >.

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

Reimplemented from Array< bool >.

NDArray boolNDArray::sum ( int  dim = -1  )  const


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