Public Types |
typedef bool(* | compare_fcn_type )(typename ref_param< bool >::type, typename ref_param< bool >::type) |
typedef ref_param< bool >::type | crefT |
typedef bool | element_type |
typedef boolMatrix | matrix_type |
Public Member Functions |
| boolNDArray (void) |
| boolNDArray (const dim_vector &dv) |
| boolNDArray (const boolNDArray &a) |
| boolNDArray (const boolMatrix &a) |
| boolNDArray (const dim_vector &dv, const bool &val) |
| boolNDArray (const Array< bool > &a) |
boolNDArray | all (int dim=-1) const |
boolNDArray | any (int dim=-1) const |
bool | any_element_is_nan (void) const |
Array< bool > | as_column (void) const |
Array< bool > | as_matrix (void) const |
Array< bool > | as_row (void) const |
void | assign (const idx_vector &i, const Array< bool > &rhs, const bool &rfv=resize_fill_value()) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< bool > &rhs, const bool &rfv=resize_fill_value()) |
void | assign (const Array< idx_vector > &ia, const Array< bool > &rhs, const bool &rfv=resize_fill_value()) |
size_t | byte_size (void) const |
octave_idx_type | capacity (void) const |
bool & | checkelem (octave_idx_type n) |
bool & | checkelem (octave_idx_type i, octave_idx_type j) |
bool & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
bool & | checkelem (const Array< octave_idx_type > &ra_idx) |
crefT | checkelem (octave_idx_type n) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
void | chop_trailing_singletons (void) GCC_ATTR_DEPRECATED |
void | clear (void) |
void | clear (const dim_vector &dv) |
void | clear (octave_idx_type r, octave_idx_type c) |
octave_idx_type | cols (void) const |
Array< bool > | column (octave_idx_type k) const |
octave_idx_type | columns (void) const |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
boolNDArray | concat (const boolNDArray &rb, const Array< octave_idx_type > &ra_idx) |
NDArray | cumsum (int dim=-1) const |
const bool * | data (void) const |
void | delete_elements (const idx_vector &i) |
void | delete_elements (int dim, const idx_vector &i) |
void | delete_elements (const Array< idx_vector > &ia) |
boolNDArray | diag (octave_idx_type k=0) const |
octave_idx_type | dim1 (void) const |
octave_idx_type | dim2 (void) const |
octave_idx_type | dim3 (void) const |
const dim_vector & | dims (void) const |
bool & | elem (octave_idx_type i, octave_idx_type j) |
bool & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
bool & | elem (const Array< octave_idx_type > &ra_idx) |
crefT | elem (octave_idx_type n) const |
crefT | elem (octave_idx_type i, octave_idx_type j) const |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
bool & | elem (octave_idx_type n) |
void | fill (const bool &val) |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
const bool * | fortran_vec (void) const |
bool * | fortran_vec (void) |
Array< bool > | hermitian (bool(*fcn)(const bool &)=0) const |
Array< bool > | index (const idx_vector &i) const |
Array< bool > | index (const idx_vector &i, const idx_vector &j) const |
Array< bool > | index (const Array< idx_vector > &ia) const |
Array< bool > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const bool &rfv=resize_fill_value()) const |
Array< bool > | index (const Array< idx_vector > &ia, bool resize_ok, const bool &rfv=resize_fill_value()) const |
Array< bool > | index (const idx_vector &i, bool resize_ok, const bool &rfv=resize_fill_value()) const |
boolNDArray & | insert (const boolNDArray &a, octave_idx_type r, octave_idx_type c) |
boolNDArray & | insert (const boolNDArray &a, const Array< octave_idx_type > &ra_idx) |
Array< bool > & | insert (const Array< bool > &a, const Array< octave_idx_type > &idx) |
Array< bool > & | insert (const Array< bool > &a, octave_idx_type r, octave_idx_type c) |
boolNDArray & | invert (void) |
Array< bool > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_shared (void) |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
bool | is_square (void) const |
bool | is_vector (void) const |
octave_idx_type | length (void) const |
Array< bool > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
Array< octave_idx_type > | lookup (const Array< bool > &values, sortmode mode=UNSORTED) const |
octave_idx_type | lookup (const bool &value, sortmode mode=UNSORTED) const |
void | make_unique (void) |
Array< U > | map (U(&fcn)(bool)) const |
Array< U > | map (U(&fcn)(const bool &)) const |
Array< U > | map (F fcn) const |
boolMatrix | matrix_value (void) const |
void | maybe_economize (void) |
void * | mex_get_data (void) const |
int | ndims (void) const |
octave_idx_type | nelem (void) const |
octave_idx_type | nnz (void) const |
Array< bool > | nth_element (const idx_vector &n, int dim=0) const |
octave_idx_type | numel (void) const |
boolNDArray | operator! (void) const |
bool & | operator() (octave_idx_type n) |
bool & | operator() (octave_idx_type i, octave_idx_type j) |
bool & | operator() (const Array< octave_idx_type > &ra_idx) |
crefT | operator() (octave_idx_type i, octave_idx_type j) const |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | operator() (octave_idx_type n) const |
bool & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
boolNDArray & | operator= (const boolNDArray &a) |
bool | optimize_dimensions (const dim_vector &dv) |
Array< bool > | page (octave_idx_type k) const |
octave_idx_type | pages (void) const |
Array< bool > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
void | print_info (std::ostream &os, const std::string &prefix) const |
Array< bool > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Array< bool > | reshape (const dim_vector &new_dims) const |
void | resize (octave_idx_type nr, octave_idx_type nc, const bool &rfv=resize_fill_value()) GCC_ATTR_DEPRECATED |
void | resize (const dim_vector &dv, const bool &rfv=resize_fill_value()) |
void | resize (octave_idx_type n) GCC_ATTR_DEPRECATED |
void | resize1 (octave_idx_type n, const bool &rfv=resize_fill_value()) |
octave_idx_type | rows (void) const |
Array< bool > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Array< bool > | sort (int dim=0, sortmode mode=ASCENDING) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
boolNDArray | squeeze (void) const |
NDArray | sum (int dim=-1) const |
bool | test (F fcn) const |
bool | test_all (F fcn) const |
bool | test_all (bool(&fcn)(const bool &)) const |
bool | test_all (bool(&fcn)(bool)) const |
bool | test_any (bool(&fcn)(bool)) const |
bool | test_any (F fcn) const |
bool | test_any (bool(&fcn)(const bool &)) const |
Array< bool > | transpose (void) const |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
bool & | xelem (octave_idx_type i, octave_idx_type j) |
crefT | xelem (octave_idx_type n) const |
bool & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
bool & | xelem (octave_idx_type n) |
bool & | xelem (const Array< octave_idx_type > &ra_idx) |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
Static Public Member Functions |
static Array< bool > | cat (int dim, octave_idx_type n, const Array< bool > *array_list) |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
static bool | resize_fill_value (void) |
Protected Attributes |
dim_vector | dimensions |
Array< bool >::ArrayRep * | rep |
bool * | slice_data |
octave_idx_type | slice_len |