GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Attributes | |
octave_refcount< int > | count |
bool | err |
Private Member Functions | |
DECLARE_OCTAVE_ALLOCATOR | idx_vector_rep (const idx_vector_rep &idx) |
idx_vector_rep & | operator= (const idx_vector_rep &idx) |
Private Attributes | |
Array< octave_idx_type > * | aowner |
const octave_idx_type * | data |
octave_idx_type | ext |
octave_idx_type | len |
dim_vector | orig_dims |
Definition at line 279 of file idx-vector.h.
|
inline |
Definition at line 283 of file idx-vector.h.
|
inline |
Definition at line 287 of file idx-vector.h.
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Array< octave_idx_type > & | inda | ) |
Definition at line 343 of file idx-vector.cc.
References idx_vector::idx_base_rep::err, ext, gripe_invalid_index(), len, idx_vector::max(), and Array< T >::xelem().
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Array< octave_idx_type > & | inda, |
octave_idx_type | _ext, | ||
direct | |||
) |
Definition at line 366 of file idx-vector.cc.
References data, ext, len, and idx_vector::max().
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Array< T > & | nda | ) |
Definition at line 323 of file idx-vector.cc.
References convert_index(), d, data, idx_vector::idx_base_rep::err, ext, gripe_invalid_index(), len, and Array< T >::xelem().
idx_vector::idx_vector_rep::idx_vector_rep | ( | bool | b | ) |
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Array< bool > & | bnda, |
octave_idx_type | nnz = -1 |
||
) |
Definition at line 395 of file idx-vector.cc.
References dim_vector::all_zero(), d, data, Array< T >::dims(), ext, len, dim_vector::length(), Array< T >::length(), Array< T >::nnz(), orig_dims, and Array< T >::xelem().
Definition at line 425 of file idx-vector.cc.
References dim_vector::all_zero(), Sparse< T >::cidx(), Sparse< T >::cols(), d, data, Sparse< T >::data(), Sparse< T >::dims(), ext, len, dim_vector::length(), orig_dims, Sparse< T >::ridx(), and Sparse< T >::rows().
idx_vector::idx_vector_rep::~idx_vector_rep | ( | void | ) |
Definition at line 453 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
private |
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 631 of file idx-vector.cc.
References Array< FloatComplex >::data(), and Array< T >::fortran_vec().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 462 of file idx-vector.cc.
References gripe_invalid_index(), and idx_vector::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 314 of file idx-vector.h.
References max().
Referenced by idx_vector::inverse_permutation().
|
inline |
Definition at line 325 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::inverse_permutation(), idx_vector::loop(), and idx_vector::raw().
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 317 of file idx-vector.h.
References idx_vector::class_vector.
|
inlinevirtualinherited |
Reimplemented in idx_vector::idx_mask_rep, idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, and idx_vector::idx_colon_rep.
Definition at line 99 of file idx-vector.h.
Referenced by idx_vector::maybe_reduce().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 312 of file idx-vector.h.
|
private |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 323 of file idx-vector.h.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 608 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 553 of file idx-vector.cc.
References ASCENDING, Array< T >::clear(), data, Array< FloatComplex >::data(), idx_vector::DIRECT, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER_INIT, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and xlog2().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 474 of file idx-vector.cc.
References ASCENDING, data, Array< FloatComplex >::data(), idx_vector::DIRECT, len, dim_vector::length(), OCTAVE_LOCAL_BUFFER_INIT, orig_dims, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and xlog2().
Definition at line 622 of file idx-vector.cc.
References Array< FloatComplex >::data(), and Array< T >::xelem().
Referenced by idx_vector::unconvert().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 308 of file idx-vector.h.
|
private |
Definition at line 352 of file idx-vector.h.
|
inherited |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 341 of file idx-vector.h.
Referenced by idx_vector_rep(), sort_idx(), and sort_uniq_clone().
|
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_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector_rep().
|
private |
Definition at line 343 of file idx-vector.h.
Referenced by idx_vector_rep().
|
private |
Definition at line 342 of file idx-vector.h.
Referenced by idx_vector_rep(), and sort_uniq_clone().
|
private |
Definition at line 354 of file idx-vector.h.
Referenced by idx_vector_rep(), and sort_uniq_clone().