GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
idx_mask_rep (bool *_data, octave_idx_type _len, octave_idx_type _ext, const dim_vector &od, direct) | |
idx_mask_rep (void) | |
idx_mask_rep (bool) | |
idx_mask_rep (const Array< bool > &, octave_idx_type=-1) | |
~idx_mask_rep (void) | |
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 |
const bool * | 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) |
Array< bool > | unconvert (void) const |
octave_idx_type | xelem (octave_idx_type i) const |
Public Attributes | |
octave_refcount< int > | count |
bool | err |
Private Member Functions | |
DECLARE_OCTAVE_ALLOCATOR | idx_mask_rep (const idx_mask_rep &idx) |
idx_mask_rep & | operator= (const idx_mask_rep &idx) |
Private Attributes | |
Array< bool > * | aowner |
const bool * | data |
octave_idx_type | ext |
octave_idx_type | len |
octave_idx_type | lste |
octave_idx_type | lsti |
dim_vector | orig_dims |
Definition at line 358 of file idx-vector.h.
|
inline |
Definition at line 362 of file idx-vector.h.
|
inline |
Definition at line 367 of file idx-vector.h.
idx_vector::idx_mask_rep::idx_mask_rep | ( | bool | b | ) |
idx_vector::idx_mask_rep::idx_mask_rep | ( | const Array< bool > & | bnda, |
octave_idx_type | nnz = -1 |
||
) |
Definition at line 662 of file idx-vector.cc.
References dim_vector::all_zero(), aowner, data, Array< T >::data(), Array< T >::dims(), ext, len, dim_vector::length(), Array< T >::nnz(), and orig_dims.
idx_vector::idx_mask_rep::~idx_mask_rep | ( | void | ) |
Definition at line 685 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
private |
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 752 of file idx-vector.cc.
References Array< FloatComplex >::data(), Array< T >::find(), Array< T >::reshape(), and Array< T >::xelem().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 712 of file idx-vector.cc.
References gripe_invalid_index(), and idx_vector::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 384 of file idx-vector.h.
References max().
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::complement(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::is_cont_range(), idx_vector::loop(), and idx_vector::unmask().
Definition at line 399 of file idx-vector.h.
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::complement(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::loop(), and idx_vector::unmask().
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 387 of file idx-vector.h.
References idx_vector::class_mask.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 396 of file idx-vector.h.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 382 of file idx-vector.h.
Referenced by idx_vector::complement(), idx_vector::is_cont_range(), and idx_vector::unmask().
|
private |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 394 of file idx-vector.h.
Referenced by idx_vector::unmask().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 724 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 768 of file idx-vector.cc.
References Array< T >::clear(), and Array< T >::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 389 of file idx-vector.h.
Definition at line 738 of file idx-vector.cc.
References Array< FloatComplex >::data(), and Array< T >::xelem().
Referenced by idx_vector::unconvert().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 694 of file idx-vector.cc.
References Array< FloatComplex >::data().
Definition at line 431 of file idx-vector.h.
Referenced by idx_mask_rep().
|
inherited |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 415 of file idx-vector.h.
Referenced by idx_mask_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_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
|
private |
Definition at line 417 of file idx-vector.h.
Referenced by idx_mask_rep().
|
private |
Definition at line 416 of file idx-vector.h.
Referenced by idx_mask_rep().
|
mutableprivate |
Definition at line 422 of file idx-vector.h.
|
mutableprivate |
Definition at line 421 of file idx-vector.h.
|
private |
Definition at line 433 of file idx-vector.h.
Referenced by idx_mask_rep().