Definition at line 160 of file idx-vector.h.
idx_vector::idx_range_rep::idx_range_rep | ( | octave_idx_type | _start, | |
octave_idx_type | _len, | |||
octave_idx_type | _step, | |||
direct | ||||
) | [inline] |
Definition at line 163 of file idx-vector.h.
idx_vector::idx_range_rep::idx_range_rep | ( | void | ) | [inline] |
Definition at line 167 of file idx-vector.h.
Referenced by sort_idx(), and sort_uniq_clone().
idx_vector::idx_range_rep::idx_range_rep | ( | octave_idx_type | _start, | |
octave_idx_type | _limit, | |||
octave_idx_type | _step | |||
) |
Definition at line 108 of file idx-vector.cc.
References idx_vector::idx_base_rep::err, gripe_invalid_index(), gripe_invalid_range(), len, start, and step.
idx_vector::idx_range_rep::idx_range_rep | ( | const Range & | r | ) |
Definition at line 125 of file idx-vector.cc.
References Range::all_elements_are_ints(), Range::base(), idx_vector::idx_base_rep::err, gripe_invalid_index(), gripe_invalid_range(), Range::inc(), len, start, and step.
DECLARE_OCTAVE_ALLOCATOR idx_vector::idx_range_rep::idx_range_rep | ( | const idx_range_rep & | idx | ) | [private] |
Array< octave_idx_type > idx_vector::idx_range_rep::as_array | ( | void | ) | [virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 212 of file idx-vector.cc.
References len, start, step, and Array< T >::xelem().
octave_idx_type idx_vector::idx_range_rep::checkelem | ( | octave_idx_type | i | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 154 of file idx-vector.cc.
References gripe_index_out_of_range(), len, start, and step.
octave_idx_type idx_vector::idx_range_rep::extent | ( | octave_idx_type | n | ) | const [inline, virtual] |
octave_idx_type idx_vector::idx_range_rep::get_start | ( | void | ) | const [inline] |
Definition at line 198 of file idx-vector.h.
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::is_cont_range(), idx_vector::loop(), and idx_vector::maybe_reduce().
octave_idx_type idx_vector::idx_range_rep::get_step | ( | void | ) | const [inline] |
Definition at line 200 of file idx-vector.h.
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::is_cont_range(), idx_vector::loop(), and idx_vector::maybe_reduce().
idx_class_type idx_vector::idx_range_rep::idx_class | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 186 of file idx-vector.h.
bool idx_vector::idx_range_rep::is_colon_equiv | ( | octave_idx_type | n | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 192 of file idx-vector.h.
octave_idx_type idx_vector::idx_range_rep::length | ( | octave_idx_type | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 181 of file idx-vector.h.
Referenced by idx_vector::is_cont_range(), and idx_vector::maybe_reduce().
idx_range_rep& idx_vector::idx_range_rep::operator= | ( | const idx_range_rep & | idx | ) | [private] |
dim_vector idx_vector::idx_range_rep::orig_dimensions | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 195 of file idx-vector.h.
std::ostream & idx_vector::idx_range_rep::print | ( | std::ostream & | os | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 198 of file idx-vector.cc.
idx_vector::idx_base_rep * idx_vector::idx_range_rep::sort_idx | ( | Array< octave_idx_type > & | idx | ) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 178 of file idx-vector.cc.
References Array< T >::clear(), idx_vector::idx_base_rep::count, idx_vector::DIRECT, idx_range_rep(), len, start, step, and Array< T >::xelem().
idx_vector::idx_base_rep * idx_vector::idx_range_rep::sort_uniq_clone | ( | bool | uniq = false |
) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 166 of file idx-vector.cc.
References idx_vector::idx_base_rep::count, idx_vector::DIRECT, idx_range_rep(), len, start, and step.
Range idx_vector::idx_range_rep::unconvert | ( | void | ) | const |
Definition at line 205 of file idx-vector.cc.
References len, start, and step.
Referenced by idx_vector::unconvert().
octave_idx_type idx_vector::idx_range_rep::xelem | ( | octave_idx_type | i | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 176 of file idx-vector.h.
octave_refcount<int> idx_vector::idx_base_rep::count [inherited] |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=(), idx_vector::idx_mask_rep::sort_idx(), idx_vector::idx_scalar_rep::sort_idx(), sort_idx(), idx_vector::idx_colon_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), and sort_uniq_clone().
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_range_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
Definition at line 216 of file idx-vector.h.
Referenced by as_array(), checkelem(), idx_range_rep(), print(), sort_idx(), sort_uniq_clone(), and unconvert().
Definition at line 216 of file idx-vector.h.
Referenced by as_array(), checkelem(), idx_range_rep(), print(), sort_idx(), sort_uniq_clone(), and unconvert().
Definition at line 216 of file idx-vector.h.
Referenced by as_array(), checkelem(), idx_range_rep(), print(), sort_idx(), sort_uniq_clone(), and unconvert().