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 | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
rec_permute_helper Class Reference
Collaboration diagram for rec_permute_helper:
Collaboration graph

Public Member Functions

 rec_permute_helper (const dim_vector &dv, const Array< octave_idx_type > &perm)
 ~rec_permute_helper (void)
template<typename T >
void permute (const T *src, T *dest) const

Static Public Member Functions

template<typename T >
static T * blk_trans (const T *src, T *dest, octave_idx_type nr, octave_idx_type nc)

Private Member Functions

 rec_permute_helper (const rec_permute_helper &)
template<typename T >
T * do_permute (const T *src, T *dest, int lev) const
rec_permute_helperoperator= (const rec_permute_helper &)

Private Attributes

int n
int top
bool use_blk

Detailed Description

Definition at line 310 of file

Constructor & Destructor Documentation

rec_permute_helper::rec_permute_helper ( const dim_vector dv,
const Array< octave_idx_type > &  perm 

Definition at line 322 of file

References dv, k, n, Array< T >::numel(), OCTAVE_LOCAL_BUFFER, and top.

rec_permute_helper::~rec_permute_helper ( void  )

Definition at line 360 of file

References dim.

rec_permute_helper::rec_permute_helper ( const rec_permute_helper )

Member Function Documentation

template<typename T >
static T* rec_permute_helper::blk_trans ( const T *  src,
T *  dest,
octave_idx_type  nr,
octave_idx_type  nc 

Definition at line 365 of file

References m, min(), and OCTAVE_LOCAL_BUFFER.

Referenced by do_permute(), and Array< T >::transpose().

template<typename T >
T* rec_permute_helper::do_permute ( const T *  src,
T *  dest,
int  lev 
) const

Definition at line 405 of file

References blk_trans().

Referenced by permute().

rec_permute_helper& rec_permute_helper::operator= ( const rec_permute_helper )
template<typename T >
void rec_permute_helper::permute ( const T *  src,
T *  dest 
) const

Definition at line 446 of file

References do_permute().

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

Member Data Documentation

octave_idx_type* rec_permute_helper::dim

Definition at line 317 of file

Referenced by ~rec_permute_helper().

int rec_permute_helper::n

Definition at line 315 of file

Referenced by rec_permute_helper().

octave_idx_type* rec_permute_helper::stride

Definition at line 318 of file

int rec_permute_helper::top

Definition at line 316 of file

Referenced by rec_permute_helper().

bool rec_permute_helper::use_blk

Definition at line 319 of file

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