GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
idx_range_rep (octave_idx_type _start, octave_idx_type _len, octave_idx_type _step, direct) | |
idx_range_rep (void) | |
idx_range_rep (octave_idx_type _start, octave_idx_type _limit, octave_idx_type _step) | |
idx_range_rep (const Range &) | |
Array< octave_idx_type > | as_array (void) |
octave_idx_type | checkelem (octave_idx_type i) const |
octave_idx_type | extent (octave_idx_type n) const |
octave_idx_type | get_start (void) const |
octave_idx_type | get_step (void) const |
idx_class_type | idx_class (void) const |
bool | is_colon_equiv (octave_idx_type n) const |
octave_idx_type | length (octave_idx_type) const |
dim_vector | orig_dimensions (void) const |
std::ostream & | print (std::ostream &os) const |
idx_base_rep * | sort_idx (Array< octave_idx_type > &) |
idx_base_rep * | sort_uniq_clone (bool uniq=false) |
Range | unconvert (void) const |
octave_idx_type | xelem (octave_idx_type i) const |
Public Attributes | |
octave_refcount< int > | count |
bool | err |
Private Member Functions | |
DECLARE_OCTAVE_ALLOCATOR | idx_range_rep (const idx_range_rep &idx) |
idx_range_rep & | operator= (const idx_range_rep &idx) |
Private Attributes | |
octave_idx_type | len |
octave_idx_type | start |
octave_idx_type | step |
Definition at line 160 of file idx-vector.h.
|
inline |
Definition at line 163 of file idx-vector.h.
|
inline |
Definition at line 167 of file idx-vector.h.
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.
|
private |
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 212 of file idx-vector.cc.
References Array< T >::xelem().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 154 of file idx-vector.cc.
References gripe_index_out_of_range().
|
inlinevirtual |
|
inline |
Definition at line 199 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().
|
inline |
Definition at line 201 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().
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 187 of file idx-vector.h.
References idx_vector::class_range.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 193 of file idx-vector.h.
|
inlinevirtual |
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().
|
private |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 196 of file idx-vector.h.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 198 of file idx-vector.cc.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 178 of file idx-vector.cc.
References Array< T >::clear(), idx_vector::DIRECT, and Array< T >::xelem().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 166 of file idx-vector.cc.
References idx_vector::DIRECT.
Definition at line 205 of file idx-vector.cc.
Referenced by idx_vector::unconvert().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 176 of file idx-vector.h.
|
inherited |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
inherited |
Definition at line 111 of file idx-vector.h.
Referenced by idx_vector::err_rep(), idx_vector::freeze(), idx_range_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
|
private |
Definition at line 217 of file idx-vector.h.
Referenced by idx_range_rep().
|
private |
Definition at line 217 of file idx-vector.h.
Referenced by idx_range_rep().
|
private |
Definition at line 217 of file idx-vector.h.
Referenced by idx_range_rep().