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

Public Member Functions

 rec_resize_helper (const dim_vector &ndv, const dim_vector &odv)
 ~rec_resize_helper (void)
template<class T >
void resize_fill (const T *src, T *dest, const T &rfv) const

Private Member Functions

 rec_resize_helper (const rec_resize_helper &)
template<class T >
void do_resize_fill (const T *src, T *dest, const T &rfv, int lev) const
rec_resize_helperoperator= (const rec_resize_helper &)

Private Attributes

octave_idx_typecext
octave_idx_typedext
int n
octave_idx_typesext

Detailed Description

Definition at line 636 of file Array.cc.

Constructor & Destructor Documentation

rec_resize_helper::rec_resize_helper ( const dim_vector ndv,
const dim_vector odv 
)
inline

Definition at line 644 of file Array.cc.

References cext, dext, dim_vector::length(), min(), n, and sext.

rec_resize_helper::~rec_resize_helper ( void  )
inline

Definition at line 668 of file Array.cc.

References cext.

rec_resize_helper::rec_resize_helper ( const rec_resize_helper )
private

Member Function Documentation

template<class T >
void rec_resize_helper::do_resize_fill ( const T *  src,
T *  dest,
const T &  rfv,
int  lev 
) const
inlineprivate

Definition at line 674 of file Array.cc.

References cext, copy_or_memcpy(), dext, fill_or_memset(), and sext.

Referenced by resize_fill().

rec_resize_helper& rec_resize_helper::operator= ( const rec_resize_helper )
private
template<class T >
void rec_resize_helper::resize_fill ( const T *  src,
T *  dest,
const T &  rfv 
) const
inline

Definition at line 700 of file Array.cc.

References do_resize_fill(), and n.

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

Member Data Documentation

octave_idx_type* rec_resize_helper::cext
private

Definition at line 638 of file Array.cc.

Referenced by do_resize_fill(), rec_resize_helper(), and ~rec_resize_helper().

octave_idx_type* rec_resize_helper::dext
private

Definition at line 640 of file Array.cc.

Referenced by do_resize_fill(), and rec_resize_helper().

int rec_resize_helper::n
private

Definition at line 641 of file Array.cc.

Referenced by rec_resize_helper(), and resize_fill().

octave_idx_type* rec_resize_helper::sext
private

Definition at line 639 of file Array.cc.

Referenced by do_resize_fill(), and rec_resize_helper().


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