GNU Octave
4.0.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 | |
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 353 of file idx-vector.h.
|
inline |
Definition at line 357 of file idx-vector.h.
|
inline |
Definition at line 362 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 658 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 681 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
private |
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 748 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 708 of file idx-vector.cc.
References gripe_invalid_index(), and idx_vector::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 379 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().
|
inline |
Definition at line 394 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 382 of file idx-vector.h.
References idx_vector::class_mask.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 391 of file idx-vector.h.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 377 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 389 of file idx-vector.h.
Referenced by idx_vector::unmask().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 720 of file idx-vector.cc.
References Array< FloatComplex >::data().
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 764 of file idx-vector.cc.
References Array< T >::clear(), and Array< T >::xelem().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 384 of file idx-vector.h.
Definition at line 734 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 690 of file idx-vector.cc.
References Array< FloatComplex >::data().
Definition at line 425 of file idx-vector.h.
Referenced by idx_mask_rep().
|
inherited |
Definition at line 108 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 409 of file idx-vector.h.
Referenced by idx_mask_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_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
|
private |
Definition at line 411 of file idx-vector.h.
Referenced by idx_mask_rep().
|
private |
Definition at line 410 of file idx-vector.h.
Referenced by idx_mask_rep().
|
mutableprivate |
Definition at line 416 of file idx-vector.h.
|
mutableprivate |
Definition at line 415 of file idx-vector.h.
|
private |
Definition at line 427 of file idx-vector.h.
Referenced by idx_mask_rep().