Definition at line 357 of file idx-vector.h.
idx_vector::idx_mask_rep::idx_mask_rep | ( | bool * | _data, | |
octave_idx_type | _len, | |||
octave_idx_type | _ext, | |||
const dim_vector & | od, | |||
direct | ||||
) | [inline] |
Definition at line 361 of file idx-vector.h.
idx_vector::idx_mask_rep::idx_mask_rep | ( | void | ) | [inline] |
Definition at line 366 of file idx-vector.h.
idx_vector::idx_mask_rep::idx_mask_rep | ( | bool | b | ) |
idx_vector::idx_mask_rep::idx_mask_rep | ( | const Array< bool > & | bnda, | |
octave_idx_type | nnz = -1 | |||
) |
Definition at line 664 of file idx-vector.cc.
References dim_vector::all_zero(), aowner, Array< T >::data(), data, Array< T >::dims(), ext, len, dim_vector::length(), Array< T >::nnz(), and orig_dims.
idx_vector::idx_mask_rep::~idx_mask_rep | ( | void | ) |
Definition at line 687 of file idx-vector.cc.
DECLARE_OCTAVE_ALLOCATOR idx_vector::idx_mask_rep::idx_mask_rep | ( | const idx_mask_rep & | idx | ) | [private] |
Array< octave_idx_type > idx_vector::idx_mask_rep::as_array | ( | void | ) | [virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 754 of file idx-vector.cc.
References aowner, data, ext, Array< T >::find(), orig_dims, Array< T >::reshape(), and Array< T >::xelem().
octave_idx_type idx_vector::idx_mask_rep::checkelem | ( | octave_idx_type | i | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 714 of file idx-vector.cc.
References gripe_invalid_index(), len, and xelem().
octave_idx_type idx_vector::idx_mask_rep::extent | ( | octave_idx_type | n | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 383 of file idx-vector.h.
References max().
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::complement(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::is_cont_range(), idx_vector::loop(), and idx_vector::unmask().
const bool* idx_vector::idx_mask_rep::get_data | ( | void | ) | const [inline] |
Definition at line 398 of file idx-vector.h.
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::complement(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::loop(), and idx_vector::unmask().
idx_class_type idx_vector::idx_mask_rep::idx_class | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 386 of file idx-vector.h.
bool idx_vector::idx_mask_rep::is_colon_equiv | ( | octave_idx_type | n | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 395 of file idx-vector.h.
octave_idx_type idx_vector::idx_mask_rep::length | ( | octave_idx_type | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 381 of file idx-vector.h.
Referenced by idx_vector::complement(), idx_vector::is_cont_range(), and idx_vector::unmask().
idx_mask_rep& idx_vector::idx_mask_rep::operator= | ( | const idx_mask_rep & | idx | ) | [private] |
dim_vector idx_vector::idx_mask_rep::orig_dimensions | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 393 of file idx-vector.h.
Referenced by idx_vector::unmask().
std::ostream & idx_vector::idx_mask_rep::print | ( | std::ostream & | os | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 726 of file idx-vector.cc.
idx_vector::idx_base_rep * idx_vector::idx_mask_rep::sort_idx | ( | Array< octave_idx_type > & | idx | ) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 770 of file idx-vector.cc.
References Array< T >::clear(), idx_vector::idx_base_rep::count, len, and Array< T >::xelem().
idx_base_rep* idx_vector::idx_mask_rep::sort_uniq_clone | ( | bool | = false |
) | [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 388 of file idx-vector.h.
Definition at line 740 of file idx-vector.cc.
References aowner, data, ext, and Array< T >::xelem().
Referenced by idx_vector::unconvert().
octave_idx_type idx_vector::idx_mask_rep::xelem | ( | octave_idx_type | i | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 696 of file idx-vector.cc.
References data, lste, and lsti.
Referenced by checkelem().
Array<bool>* idx_vector::idx_mask_rep::aowner [private] |
Definition at line 430 of file idx-vector.h.
Referenced by as_array(), idx_mask_rep(), unconvert(), and ~idx_mask_rep().
octave_refcount<int> idx_vector::idx_base_rep::count [inherited] |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=(), sort_idx(), idx_vector::idx_scalar_rep::sort_idx(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_colon_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), and idx_vector::idx_range_rep::sort_uniq_clone().
const bool* idx_vector::idx_mask_rep::data [private] |
Definition at line 414 of file idx-vector.h.
Referenced by as_array(), idx_mask_rep(), print(), unconvert(), xelem(), and ~idx_mask_rep().
bool idx_vector::idx_base_rep::err [inherited] |
Definition at line 111 of file idx-vector.h.
Referenced by idx_vector::err_rep(), idx_vector::freeze(), idx_vector::idx_colon_rep::idx_colon_rep(), idx_vector::idx_range_rep::idx_range_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
octave_idx_type idx_vector::idx_mask_rep::ext [private] |
Definition at line 416 of file idx-vector.h.
Referenced by as_array(), idx_mask_rep(), print(), and unconvert().
octave_idx_type idx_vector::idx_mask_rep::len [private] |
Definition at line 415 of file idx-vector.h.
Referenced by checkelem(), idx_mask_rep(), and sort_idx().
octave_idx_type idx_vector::idx_mask_rep::lste [mutable, private] |
Definition at line 421 of file idx-vector.h.
Referenced by xelem().
octave_idx_type idx_vector::idx_mask_rep::lsti [mutable, private] |
Definition at line 420 of file idx-vector.h.
Referenced by xelem().
Definition at line 432 of file idx-vector.h.
Referenced by as_array(), and idx_mask_rep().