Definition at line 278 of file idx-vector.h.
idx_vector::idx_vector_rep::idx_vector_rep | ( | octave_idx_type * | _data, | |
octave_idx_type | _len, | |||
octave_idx_type | _ext, | |||
const dim_vector & | od, | |||
direct | ||||
) | [inline] |
Definition at line 282 of file idx-vector.h.
idx_vector::idx_vector_rep::idx_vector_rep | ( | void | ) | [inline] |
Definition at line 286 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, Array< T >::length(), dim_vector::length(), Array< T >::nnz(), orig_dims, and Array< T >::xelem().
Definition at line 425 of file idx-vector.cc.
References Sparse< T >::cidx(), d, data, Sparse< T >::data(), Sparse< T >::dims(), ext, len, dim_vector::length(), Sparse< T >::nnz(), orig_dims, Sparse< T >::ridx(), and Sparse< T >::rows().
idx_vector::idx_vector_rep::~idx_vector_rep | ( | void | ) |
Definition at line 456 of file idx-vector.cc.
DECLARE_OCTAVE_ALLOCATOR idx_vector::idx_vector_rep::idx_vector_rep | ( | const idx_vector_rep & | idx | ) | [private] |
Array< octave_idx_type > idx_vector::idx_vector_rep::as_array | ( | void | ) | [virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 633 of file idx-vector.cc.
References aowner, data, Array< T >::fortran_vec(), len, and orig_dims.
octave_idx_type idx_vector::idx_vector_rep::checkelem | ( | octave_idx_type | i | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 465 of file idx-vector.cc.
References gripe_invalid_index(), len, and xelem().
octave_idx_type idx_vector::idx_vector_rep::extent | ( | octave_idx_type | n | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 313 of file idx-vector.h.
References max().
Referenced by idx_vector::inverse_permutation().
const octave_idx_type* idx_vector::idx_vector_rep::get_data | ( | void | ) | const [inline] |
Definition at line 324 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().
idx_class_type idx_vector::idx_vector_rep::idx_class | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 316 of file idx-vector.h.
virtual bool idx_vector::idx_base_rep::is_colon_equiv | ( | octave_idx_type | ) | const [inline, virtual, inherited] |
Reimplemented in idx_vector::idx_colon_rep, idx_vector::idx_range_rep, idx_vector::idx_scalar_rep, and idx_vector::idx_mask_rep.
Definition at line 99 of file idx-vector.h.
Referenced by idx_vector::maybe_reduce().
octave_idx_type idx_vector::idx_vector_rep::length | ( | octave_idx_type | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 311 of file idx-vector.h.
idx_vector_rep& idx_vector::idx_vector_rep::operator= | ( | const idx_vector_rep & | idx | ) | [private] |
dim_vector idx_vector::idx_vector_rep::orig_dimensions | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 322 of file idx-vector.h.
std::ostream & idx_vector::idx_vector_rep::print | ( | std::ostream & | os | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 610 of file idx-vector.cc.
idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_idx | ( | Array< octave_idx_type > & | idx | ) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 555 of file idx-vector.cc.
References ASCENDING, Array< T >::clear(), data, idx_vector::DIRECT, ext, Array< T >::fortran_vec(), len, OCTAVE_LOCAL_BUFFER_INIT, orig_dims, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and xlog2().
idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_uniq_clone | ( | bool | uniq = false |
) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 477 of file idx-vector.cc.
References ASCENDING, idx_vector::idx_base_rep::count, data, idx_vector::DIRECT, ext, len, OCTAVE_LOCAL_BUFFER_INIT, orig_dims, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and xlog2().
Definition at line 624 of file idx-vector.cc.
References data, len, orig_dims, and Array< T >::xelem().
Referenced by idx_vector::unconvert().
octave_idx_type idx_vector::idx_vector_rep::xelem | ( | octave_idx_type | i | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 307 of file idx-vector.h.
Referenced by checkelem().
Array<octave_idx_type>* idx_vector::idx_vector_rep::aowner [private] |
Definition at line 351 of file idx-vector.h.
Referenced by as_array(), and ~idx_vector_rep().
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(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_colon_rep::sort_idx(), sort_uniq_clone(), and idx_vector::idx_range_rep::sort_uniq_clone().
const octave_idx_type* idx_vector::idx_vector_rep::data [private] |
Definition at line 340 of file idx-vector.h.
Referenced by as_array(), idx_vector_rep(), print(), sort_idx(), sort_uniq_clone(), unconvert(), and ~idx_vector_rep().
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_vector::idx_range_rep::idx_range_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector_rep().
Definition at line 342 of file idx-vector.h.
Referenced by idx_vector_rep(), sort_idx(), and sort_uniq_clone().
Definition at line 341 of file idx-vector.h.
Referenced by as_array(), checkelem(), idx_vector_rep(), print(), sort_idx(), sort_uniq_clone(), and unconvert().
Definition at line 353 of file idx-vector.h.
Referenced by as_array(), idx_vector_rep(), sort_idx(), sort_uniq_clone(), and unconvert().