GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
idx_vector::idx_mask_rep Class Reference
Inheritance diagram for idx_vector::idx_mask_rep:
Inheritance graph
[legend]
Collaboration diagram for idx_vector::idx_mask_rep:
Collaboration graph
[legend]

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_typeas_array (void)
 
octave_idx_type checkelem (octave_idx_type i) const
 
octave_idx_type extent (octave_idx_type n) const
 
const boolget_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_repsort_idx (Array< octave_idx_type > &)
 
idx_base_repsort_uniq_clone (bool=false)
 
Array< boolunconvert (void) const
 
octave_idx_type xelem (octave_idx_type i) const
 

Public Attributes

octave_refcount< intcount
 
bool err
 

Private Member Functions

 idx_mask_rep (const idx_mask_rep &idx)
 
idx_mask_repoperator= (const idx_mask_rep &idx)
 

Private Attributes

Array< bool > * aowner
 
const booldata
 
octave_idx_type ext
 
octave_idx_type len
 
octave_idx_type lste
 
octave_idx_type lsti
 
dim_vector orig_dims
 

Detailed Description

Definition at line 353 of file idx-vector.h.

Constructor & Destructor Documentation

idx_vector::idx_mask_rep::idx_mask_rep ( bool _data,
octave_idx_type  _len,
octave_idx_type  _ext,
const dim_vector od,
direct   
)
inline

Definition at line 357 of file idx-vector.h.

idx_vector::idx_mask_rep::idx_mask_rep ( void  )
inline

Definition at line 362 of file idx-vector.h.

idx_vector::idx_mask_rep::idx_mask_rep ( bool  b)

Definition at line 645 of file idx-vector.cc.

References d, data, ext, and len.

idx_vector::idx_mask_rep::idx_mask_rep ( const Array< bool > &  bnda,
octave_idx_type  nnz = -1 
)
idx_vector::idx_mask_rep::~idx_mask_rep ( void  )

Definition at line 681 of file idx-vector.cc.

References Array< FloatComplex >::data().

idx_vector::idx_mask_rep::idx_mask_rep ( const idx_mask_rep idx)
private

Member Function Documentation

Array< octave_idx_type > idx_vector::idx_mask_rep::as_array ( void  )
virtual
octave_idx_type idx_vector::idx_mask_rep::checkelem ( octave_idx_type  i) const
virtual

Implements idx_vector::idx_base_rep.

Definition at line 708 of file idx-vector.cc.

References gripe_invalid_index(), and idx_vector::xelem().

octave_idx_type idx_vector::idx_mask_rep::extent ( octave_idx_type  n) const
inlinevirtual
const bool* idx_vector::idx_mask_rep::get_data ( void  ) const
inline
idx_class_type idx_vector::idx_mask_rep::idx_class ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

Definition at line 382 of file idx-vector.h.

References idx_vector::class_mask.

bool idx_vector::idx_mask_rep::is_colon_equiv ( octave_idx_type  n) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

Definition at line 391 of file idx-vector.h.

octave_idx_type idx_vector::idx_mask_rep::length ( octave_idx_type  ) const
inlinevirtual
idx_mask_rep& idx_vector::idx_mask_rep::operator= ( const idx_mask_rep idx)
private
dim_vector idx_vector::idx_mask_rep::orig_dimensions ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

Definition at line 389 of file idx-vector.h.

Referenced by idx_vector::unmask().

std::ostream & idx_vector::idx_mask_rep::print ( std::ostream &  os) const
virtual

Implements idx_vector::idx_base_rep.

Definition at line 720 of file idx-vector.cc.

References Array< FloatComplex >::data().

idx_vector::idx_base_rep * idx_vector::idx_mask_rep::sort_idx ( Array< octave_idx_type > &  idx)
virtual

Implements idx_vector::idx_base_rep.

Definition at line 764 of file idx-vector.cc.

References Array< T >::clear(), and Array< T >::xelem().

idx_base_rep* idx_vector::idx_mask_rep::sort_uniq_clone ( bool  = false)
inlinevirtual

Implements idx_vector::idx_base_rep.

Definition at line 384 of file idx-vector.h.

Array< bool > idx_vector::idx_mask_rep::unconvert ( void  ) const

Definition at line 734 of file idx-vector.cc.

References Array< FloatComplex >::data(), and Array< T >::xelem().

Referenced by idx_vector::unconvert().

octave_idx_type idx_vector::idx_mask_rep::xelem ( octave_idx_type  i) const
virtual

Implements idx_vector::idx_base_rep.

Definition at line 690 of file idx-vector.cc.

References Array< FloatComplex >::data().

Member Data Documentation

Array<bool>* idx_vector::idx_mask_rep::aowner
private

Definition at line 425 of file idx-vector.h.

Referenced by idx_mask_rep().

octave_refcount<int> idx_vector::idx_base_rep::count
inherited

Definition at line 108 of file idx-vector.h.

Referenced by idx_vector::operator=().

const bool* idx_vector::idx_mask_rep::data
private

Definition at line 409 of file idx-vector.h.

Referenced by idx_mask_rep().

bool idx_vector::idx_base_rep::err
inherited
octave_idx_type idx_vector::idx_mask_rep::ext
private

Definition at line 411 of file idx-vector.h.

Referenced by idx_mask_rep().

octave_idx_type idx_vector::idx_mask_rep::len
private

Definition at line 410 of file idx-vector.h.

Referenced by idx_mask_rep().

octave_idx_type idx_vector::idx_mask_rep::lste
mutableprivate

Definition at line 416 of file idx-vector.h.

octave_idx_type idx_vector::idx_mask_rep::lsti
mutableprivate

Definition at line 415 of file idx-vector.h.

dim_vector idx_vector::idx_mask_rep::orig_dims
private

Definition at line 427 of file idx-vector.h.

Referenced by idx_mask_rep().


The documentation for this class was generated from the following files: