GNU Octave  4.2.1
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 | Private Member Functions | Private Attributes | List of all members
rec_index_helper Class Reference
Collaboration diagram for rec_index_helper:
Collaboration graph
[legend]

Public Member Functions

 rec_index_helper (const dim_vector &dv, const Array< idx_vector > &ia)
 
 ~rec_index_helper (void)
 
template<typename T >
void assign (const T *src, T *dest) const
 
template<typename T >
void fill (const T &val, T *dest) const
 
template<typename T >
void index (const T *src, T *dest) const
 
bool is_cont_range (octave_idx_type &l, octave_idx_type &u) const
 

Private Member Functions

 rec_index_helper (const rec_index_helper &)
 
template<typename T >
const T * do_assign (const T *src, T *dest, int lev) const
 
template<typename T >
void do_fill (const T &val, T *dest, int lev) const
 
template<typename T >
T * do_index (const T *src, T *dest, int lev) const
 
rec_index_helperoperator= (const rec_index_helper &)
 

Private Attributes

octave_idx_typecdim
 
octave_idx_typedim
 
idx_vectoridx
 
int n
 
int top
 

Detailed Description

Definition at line 524 of file Array.cc.

Constructor & Destructor Documentation

rec_index_helper::rec_index_helper ( const dim_vector dv,
const Array< idx_vector > &  ia 
)
inline

Definition at line 536 of file Array.cc.

References dv, max(), n, dim_vector::ndims(), and top.

rec_index_helper::~rec_index_helper ( void  )
inline

Definition at line 565 of file Array.cc.

References dim, and idx.

rec_index_helper::rec_index_helper ( const rec_index_helper )
private

Member Function Documentation

template<typename T >
void rec_index_helper::assign ( const T *  src,
T *  dest 
) const
inline

Definition at line 630 of file Array.cc.

References do_assign().

Referenced by Array< T >::assign().

template<typename T >
const T* rec_index_helper::do_assign ( const T *  src,
T *  dest,
int  lev 
) const
inlineprivate

Definition at line 588 of file Array.cc.

References idx_vector::assign(), d, idx_vector::length(), and nn.

Referenced by assign().

template<typename T >
void rec_index_helper::do_fill ( const T &  val,
T *  dest,
int  lev 
) const
inlineprivate

Definition at line 605 of file Array.cc.

References d, idx_vector::fill(), idx_vector::length(), and nn.

Referenced by fill().

template<typename T >
T* rec_index_helper::do_index ( const T *  src,
T *  dest,
int  lev 
) const
inlineprivate

Definition at line 571 of file Array.cc.

References d, idx_vector::index(), idx_vector::length(), and nn.

Referenced by index().

template<typename T >
void rec_index_helper::fill ( const T &  val,
T *  dest 
) const
inline

Definition at line 633 of file Array.cc.

References do_fill().

Referenced by Array< T >::assign().

template<typename T >
void rec_index_helper::index ( const T *  src,
T *  dest 
) const
inline

Definition at line 627 of file Array.cc.

References do_index().

Referenced by Array< T >::index(), phrtsd(), xerprn(), xgetua(), and xsetua().

bool rec_index_helper::is_cont_range ( octave_idx_type l,
octave_idx_type u 
) const
inline

Definition at line 635 of file Array.cc.

References idx_vector::is_cont_range().

Referenced by Array< T >::index().

rec_index_helper& rec_index_helper::operator= ( const rec_index_helper )
private

Member Data Documentation

octave_idx_type* rec_index_helper::cdim
private

Definition at line 532 of file Array.cc.

octave_idx_type* rec_index_helper::dim
private

Definition at line 531 of file Array.cc.

Referenced by ~rec_index_helper().

idx_vector* rec_index_helper::idx
private

Definition at line 533 of file Array.cc.

Referenced by ~rec_index_helper().

int rec_index_helper::n
private

Definition at line 529 of file Array.cc.

Referenced by rec_index_helper().

int rec_index_helper::top
private

Definition at line 530 of file Array.cc.

Referenced by rec_index_helper().


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