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_vector_rep Class Reference
Inheritance diagram for idx_vector::idx_vector_rep:
Inheritance graph
[legend]
Collaboration diagram for idx_vector::idx_vector_rep:
Collaboration graph
[legend]

Public Member Functions

 idx_vector_rep (octave_idx_type *_data, octave_idx_type _len, octave_idx_type _ext, const dim_vector &od, direct)
 
 idx_vector_rep (void)
 
 idx_vector_rep (const Array< octave_idx_type > &inda)
 
 idx_vector_rep (const Array< octave_idx_type > &inda, octave_idx_type _ext, direct)
 
template<class T >
 idx_vector_rep (const Array< T > &)
 
 idx_vector_rep (bool)
 
 idx_vector_rep (const Array< bool > &, octave_idx_type=-1)
 
 idx_vector_rep (const Sparse< bool > &)
 
 ~idx_vector_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 octave_idx_typeget_data (void) const
 
idx_class_type idx_class (void) const
 
virtual bool is_colon_equiv (octave_idx_type) 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 uniq=false)
 
Array< doubleunconvert (void) const
 
octave_idx_type xelem (octave_idx_type i) const
 

Public Attributes

octave_refcount< intcount
 
bool err
 

Private Member Functions

 idx_vector_rep (const idx_vector_rep &idx)
 
idx_vector_repoperator= (const idx_vector_rep &idx)
 

Private Attributes

Array< octave_idx_type > * aowner
 
const octave_idx_typedata
 
octave_idx_type ext
 
octave_idx_type len
 
dim_vector orig_dims
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

idx_vector::idx_vector_rep::idx_vector_rep ( void  )
inline

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

idx_vector::idx_vector_rep::idx_vector_rep ( const Array< octave_idx_type > &  inda)
idx_vector::idx_vector_rep::idx_vector_rep ( const Array< octave_idx_type > &  inda,
octave_idx_type  _ext,
direct   
)

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

References data, ext, len, and idx_vector::max().

template<class T >
idx_vector::idx_vector_rep::idx_vector_rep ( const Array< T > &  nda)
idx_vector::idx_vector_rep::idx_vector_rep ( bool  b)

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

References d, data, ext, and len.

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

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

References Array< FloatComplex >::data().

idx_vector::idx_vector_rep::idx_vector_rep ( const idx_vector_rep idx)
private

Member Function Documentation

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

Reimplemented from idx_vector::idx_base_rep.

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

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

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

Implements idx_vector::idx_base_rep.

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

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

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

Implements idx_vector::idx_base_rep.

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

References max().

Referenced by idx_vector::inverse_permutation().

const octave_idx_type* idx_vector::idx_vector_rep::get_data ( void  ) const
inline
idx_class_type idx_vector::idx_vector_rep::idx_class ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

References idx_vector::class_vector.

virtual bool idx_vector::idx_base_rep::is_colon_equiv ( octave_idx_type  ) const
inlinevirtualinherited
octave_idx_type idx_vector::idx_vector_rep::length ( octave_idx_type  ) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

idx_vector_rep& idx_vector::idx_vector_rep::operator= ( const idx_vector_rep idx)
private
dim_vector idx_vector::idx_vector_rep::orig_dimensions ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

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

Implements idx_vector::idx_base_rep.

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

References Array< FloatComplex >::data().

idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_idx ( Array< octave_idx_type > &  idx)
virtual
idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_uniq_clone ( bool  uniq = false)
virtual
Array< double > idx_vector::idx_vector_rep::unconvert ( void  ) const

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

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

Referenced by idx_vector::unconvert().

octave_idx_type idx_vector::idx_vector_rep::xelem ( octave_idx_type  i) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

Member Data Documentation

Array<octave_idx_type>* idx_vector::idx_vector_rep::aowner
private

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

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 octave_idx_type* idx_vector::idx_vector_rep::data
private

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

Referenced by idx_vector_rep(), sort_idx(), and sort_uniq_clone().

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

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

Referenced by idx_vector_rep().

octave_idx_type idx_vector::idx_vector_rep::len
private

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

Referenced by idx_vector_rep(), and sort_uniq_clone().

dim_vector idx_vector::idx_vector_rep::orig_dims
private

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

Referenced by idx_vector_rep(), and sort_uniq_clone().


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