Public Attributes | |
octave::refcount< octave_idx_type > | count |
bool | err |
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 281 of file idx-vector.h.
|
inline |
Definition at line 285 of file idx-vector.h.
|
inline |
Definition at line 290 of file idx-vector.h.
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Array< octave_idx_type > & | inda | ) |
Definition at line 336 of file idx-vector.cc.
References idx_vector::idx_base_rep::err, octave::err_invalid_index(), ext, 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 359 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 319 of file idx-vector.cc.
References convert_index(), d, data, idx_vector::idx_base_rep::err, ext, 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 389 of file idx-vector.cc.
References d, data, Array< T >::dims(), ext, len, dim_vector::make_nd_vector(), Array< T >::nnz(), Array< T >::numel(), orig_dims, and Array< T >::xelem().
idx_vector::idx_vector_rep::idx_vector_rep | ( | const Sparse< bool > & | bnda | ) |
Definition at line 418 of file idx-vector.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), d, data, Sparse< T >::data(), Sparse< T >::dims(), ext, len, dim_vector::make_nd_vector(), orig_dims, Sparse< T >::ridx(), and Sparse< T >::rows().
|
delete |
idx_vector::idx_vector_rep::~idx_vector_rep | ( | void | ) |
Definition at line 445 of file idx-vector.cc.
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 623 of file idx-vector.cc.
References Array< octave_idx_type >, Array< T >::fortran_vec(), len, and retval.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 454 of file idx-vector.cc.
References octave::err_invalid_index(), len, n, and idx_vector::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 325 of file idx-vector.h.
|
inline |
Definition at line 336 of file idx-vector.h.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 328 of file idx-vector.h.
|
inlinevirtualinherited |
Reimplemented in idx_vector::idx_colon_rep, idx_vector::idx_mask_rep, idx_vector::idx_scalar_rep, and idx_vector::idx_range_rep.
Definition at line 108 of file idx-vector.h.
Referenced by idx_vector::maybe_reduce().
|
inlinevirtual |
|
delete |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 334 of file idx-vector.h.
|
virtual |
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 542 of file idx-vector.cc.
References ASCENDING, Array< T >::clear(), idx_vector::DIRECT, Array< T >::fortran_vec(), len, octave::math::log2(), OCTAVE_LOCAL_BUFFER_INIT, octave_sort< T >::set_compare(), and octave_sort< T >::sort().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 463 of file idx-vector.cc.
References ASCENDING, idx_vector::DIRECT, len, octave::math::log2(), OCTAVE_LOCAL_BUFFER_INIT, octave_sort< T >::set_compare(), and octave_sort< T >::sort().
Array< double > idx_vector::idx_vector_rep::unconvert | ( | void | ) | const |
Definition at line 614 of file idx-vector.cc.
References len, retval, and Array< T >::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 319 of file idx-vector.h.
|
private |
Definition at line 357 of file idx-vector.h.
|
inherited |
Definition at line 118 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 346 of file idx-vector.h.
Referenced by idx_vector_rep().
|
inherited |
Definition at line 120 of file idx-vector.h.
Referenced by idx_vector::idx_colon_rep::idx_colon_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), idx_vector_rep(), idx_vector::err_rep(), and idx_vector::freeze().
|
private |
Definition at line 348 of file idx-vector.h.
Referenced by idx_vector_rep().
|
private |
Definition at line 347 of file idx-vector.h.
Referenced by idx_vector_rep().
|
private |
Definition at line 359 of file idx-vector.h.
Referenced by idx_vector_rep().