GNU Octave  3.8.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

DECLARE_OCTAVE_ALLOCATOR 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 358 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 362 of file idx-vector.h.

idx_vector::idx_mask_rep::idx_mask_rep ( void  )
inline

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

idx_vector::idx_mask_rep::idx_mask_rep ( bool  b)

Definition at line 649 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 685 of file idx-vector.cc.

References Array< FloatComplex >::data().

DECLARE_OCTAVE_ALLOCATOR 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 712 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 387 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 396 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 394 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 724 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 768 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 389 of file idx-vector.h.

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

Definition at line 738 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 694 of file idx-vector.cc.

References Array< FloatComplex >::data().

Member Data Documentation

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

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

Referenced by idx_mask_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=().

const bool* idx_vector::idx_mask_rep::data
private

Definition at line 415 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 417 of file idx-vector.h.

Referenced by idx_mask_rep().

octave_idx_type idx_vector::idx_mask_rep::len
private

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

Referenced by idx_mask_rep().

octave_idx_type idx_vector::idx_mask_rep::lste
mutableprivate

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

octave_idx_type idx_vector::idx_mask_rep::lsti
mutableprivate

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

dim_vector idx_vector::idx_mask_rep::orig_dims
private

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

Referenced by idx_mask_rep().


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