GNU Octave
4.0.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 | |
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 219 of file idx-vector.h.
|
inline |
Definition at line 222 of file idx-vector.h.
|
inline |
Definition at line 225 of file idx-vector.h.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | octave_idx_type | i | ) |
Definition at line 272 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 261 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 312 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 283 of file idx-vector.cc.
References Array< FloatComplex >::data(), and gripe_index_out_of_range().
|
inlinevirtual |
|
inline |
Definition at line 255 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 243 of file idx-vector.h.
References idx_vector::class_scalar.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 250 of file idx-vector.h.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 238 of file idx-vector.h.
|
private |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 253 of file idx-vector.h.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 300 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 292 of file idx-vector.cc.
References Array< T >::clear(), and Array< T >::fill().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 245 of file idx-vector.h.
double idx_vector::idx_scalar_rep::unconvert | ( | void | ) | const |
Definition at line 306 of file idx-vector.cc.
References Array< FloatComplex >::data().
Referenced by idx_vector::unconvert().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 234 of file idx-vector.h.
|
inherited |
Definition at line 108 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 270 of file idx-vector.h.
Referenced by idx_scalar_rep().
|
inherited |
Definition at line 110 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().