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 | 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
[legend]

Public Member Functions

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

Static Public Member Functions

template<class 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<class T >
T * do_permute (const T *src, T *dest, int lev) const
 
rec_permute_helperoperator= (const rec_permute_helper &)
 

Private Attributes

octave_idx_typedim
 
int n
 
octave_idx_typestride
 
int top
 
bool use_blk
 

Detailed Description

Definition at line 299 of file Array.cc.

Constructor & Destructor Documentation

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

Definition at line 311 of file Array.cc.

References Array< T >::length(), n, OCTAVE_LOCAL_BUFFER, and top.

rec_permute_helper::~rec_permute_helper ( void  )
inline

Definition at line 349 of file Array.cc.

References dim.

rec_permute_helper::rec_permute_helper ( const rec_permute_helper )
private

Member Function Documentation

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

Definition at line 354 of file Array.cc.

References min(), and OCTAVE_LOCAL_BUFFER.

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

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

Definition at line 394 of file Array.cc.

References blk_trans().

Referenced by permute().

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

Definition at line 435 of file Array.cc.

References do_permute().

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

Member Data Documentation

octave_idx_type* rec_permute_helper::dim
private

Definition at line 306 of file Array.cc.

Referenced by ~rec_permute_helper().

int rec_permute_helper::n
private

Definition at line 304 of file Array.cc.

Referenced by rec_permute_helper().

octave_idx_type* rec_permute_helper::stride
private

Definition at line 307 of file Array.cc.

int rec_permute_helper::top
private

Definition at line 305 of file Array.cc.

Referenced by rec_permute_helper().

bool rec_permute_helper::use_blk
private

Definition at line 308 of file Array.cc.


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