GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
idx_vector::idx_mask_rep Class Reference
Inheritance diagram for idx_vector::idx_mask_rep:
Collaboration diagram for idx_vector::idx_mask_rep:

Public Member Functions

 idx_mask_rep (bool *data, octave_idx_type len, octave_idx_type ext, const dim_vector &od, direct)
 
OCTAVE_API idx_mask_rep (bool)
 
OCTAVE_API idx_mask_rep (const Array< bool > &, octave_idx_type=-1)
 
 idx_mask_rep (const idx_mask_rep &idx)=delete
 
 idx_mask_rep (void)=delete
 
OCTAVE_API ~idx_mask_rep (void)
 
OCTAVE_API 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 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
 
idx_mask_repoperator= (const idx_mask_rep &idx)=delete
 
dim_vector orig_dimensions (void) const
 
OCTAVE_API std::ostream & print (std::ostream &os) const
 
OCTAVE_API idx_base_repsort_idx (Array< octave_idx_type > &)
 
idx_base_repsort_uniq_clone (bool=false)
 
OCTAVE_API Array< bool > unconvert (void) const
 
octave_idx_type xelem (octave_idx_type i) const
 

Public Attributes

refcount< octave_idx_typem_count
 

Private Attributes

Array< bool > * m_aowner
 
const bool * m_data
 
octave_idx_type m_ext
 
octave_idx_type m_len
 
octave_idx_type m_lste
 
octave_idx_type m_lsti
 
dim_vector m_orig_dims
 

Detailed Description

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

Constructor & Destructor Documentation

◆ idx_mask_rep() [1/5]

idx_vector::idx_mask_rep::idx_mask_rep ( void  )
delete

◆ idx_mask_rep() [2/5]

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 370 of file idx-vector.h.

◆ idx_mask_rep() [3/5]

idx_vector::idx_mask_rep::idx_mask_rep ( bool  b)

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

References d, m_data, m_ext, and m_len.

◆ idx_mask_rep() [4/5]

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

◆ idx_mask_rep() [5/5]

idx_vector::idx_mask_rep::idx_mask_rep ( const idx_mask_rep idx)
delete

◆ ~idx_mask_rep()

idx_vector::idx_mask_rep::~idx_mask_rep ( void  )

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

Member Function Documentation

◆ as_array()

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

◆ checkelem()

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

Implements idx_vector::idx_base_rep.

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

References err_invalid_index(), n, and idx_vector::xelem().

◆ extent()

octave_idx_type idx_vector::idx_mask_rep::extent ( octave_idx_type  n) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

References max(), and n.

◆ get_data()

const bool* idx_vector::idx_mask_rep::get_data ( void  ) const
inline

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

◆ idx_class()

idx_class_type idx_vector::idx_mask_rep::idx_class ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

◆ is_colon_equiv()

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 406 of file idx-vector.h.

References n.

◆ length()

octave_idx_type idx_vector::idx_mask_rep::length ( octave_idx_type  ) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

◆ operator=()

idx_mask_rep& idx_vector::idx_mask_rep::operator= ( const idx_mask_rep idx)
delete

◆ orig_dimensions()

dim_vector idx_vector::idx_mask_rep::orig_dimensions ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

◆ print()

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

Implements idx_vector::idx_base_rep.

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

◆ sort_idx()

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 725 of file idx-vector.cc.

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

◆ sort_uniq_clone()

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

Implements idx_vector::idx_base_rep.

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

◆ unconvert()

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

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

References Array< T, Alloc >::xelem().

◆ xelem()

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

Implements idx_vector::idx_base_rep.

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

References n.

Member Data Documentation

◆ m_aowner

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

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

Referenced by idx_mask_rep().

◆ m_count

refcount<octave_idx_type> idx_vector::idx_base_rep::m_count
inherited

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

Referenced by idx_vector::operator=().

◆ m_data

const bool* idx_vector::idx_mask_rep::m_data
private

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

Referenced by idx_mask_rep().

◆ m_ext

octave_idx_type idx_vector::idx_mask_rep::m_ext
private

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

Referenced by idx_mask_rep().

◆ m_len

octave_idx_type idx_vector::idx_mask_rep::m_len
private

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

Referenced by idx_mask_rep().

◆ m_lste

octave_idx_type idx_vector::idx_mask_rep::m_lste
mutableprivate

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

◆ m_lsti

octave_idx_type idx_vector::idx_mask_rep::m_lsti
mutableprivate

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

◆ m_orig_dims

dim_vector idx_vector::idx_mask_rep::m_orig_dims
private

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

Referenced by idx_mask_rep().


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