GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
idx_scalar_rep (octave_idx_type i, direct) | |
idx_scalar_rep (void) | |
idx_scalar_rep (octave_idx_type i) | |
template<class T > | |
idx_scalar_rep (T x) | |
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_data (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=false) |
double | unconvert (void) const |
octave_idx_type | xelem (octave_idx_type) const |
Public Attributes | |
octave_refcount< int > | count |
bool | err |
Private Member Functions | |
DECLARE_OCTAVE_ALLOCATOR | idx_scalar_rep (const idx_scalar_rep &idx) |
idx_scalar_rep & | operator= (const idx_scalar_rep &idx) |
Private Attributes | |
octave_idx_type | data |
Definition at line 222 of file idx-vector.h.
|
inline |
Definition at line 225 of file idx-vector.h.
|
inline |
Definition at line 228 of file idx-vector.h.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | octave_idx_type | i | ) |
Definition at line 275 of file idx-vector.cc.
References data, idx_vector::idx_base_rep::err, and gripe_invalid_index().
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | T | x | ) |
Definition at line 264 of file idx-vector.cc.
References convert_index(), data, idx_vector::idx_base_rep::err, and gripe_invalid_index().
|
private |
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 315 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 286 of file idx-vector.cc.
References Array< FloatComplex >::data(), and gripe_index_out_of_range().
|
inlinevirtual |
|
inline |
Definition at line 258 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 246 of file idx-vector.h.
References idx_vector::class_scalar.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 253 of file idx-vector.h.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 241 of file idx-vector.h.
|
private |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 256 of file idx-vector.h.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 303 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 295 of file idx-vector.cc.
References Array< T >::clear(), and Array< T >::fill().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 248 of file idx-vector.h.
Definition at line 309 of file idx-vector.cc.
References Array< FloatComplex >::data().
Referenced by idx_vector::unconvert().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 237 of file idx-vector.h.
|
inherited |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 274 of file idx-vector.h.
Referenced by idx_scalar_rep().
|
inherited |
Definition at line 111 of file idx-vector.h.
Referenced by idx_vector::err_rep(), idx_vector::freeze(), idx_vector::idx_range_rep::idx_range_rep(), idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().