GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
rec_permute_helper Class Reference
Collaboration diagram for rec_permute_helper:

Public Member Functions

 rec_permute_helper (const dim_vector &dv, const Array< octave_idx_type > &perm)
 
 rec_permute_helper (const rec_permute_helper &)=delete
 
 ~rec_permute_helper (void)
 
rec_permute_helperoperator= (const rec_permute_helper &)=delete
 
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

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

Private Attributes

octave_idx_typem_dim
 
int m_n
 
octave_idx_typem_stride
 
int m_top
 
bool m_use_blk
 

Detailed Description

Definition at line 312 of file Array-base.cc.

Constructor & Destructor Documentation

◆ rec_permute_helper() [1/2]

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

Definition at line 315 of file Array-base.cc.

◆ rec_permute_helper() [2/2]

rec_permute_helper::rec_permute_helper ( const rec_permute_helper )
delete

◆ ~rec_permute_helper()

rec_permute_helper::~rec_permute_helper ( void  )
inline

Definition at line 359 of file Array-base.cc.

References m_dim.

Member Function Documentation

◆ blk_trans()

template<typename 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 367 of file Array-base.cc.

References m, min(), and OCTAVE_LOCAL_BUFFER.

Referenced by Array< octave_value * >::clear(), and Array< T, Alloc >::transpose().

◆ do_permute()

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

Definition at line 407 of file Array-base.cc.

Referenced by Array< octave_value * >::clear(), and permute().

◆ operator=()

rec_permute_helper& rec_permute_helper::operator= ( const rec_permute_helper )
delete

◆ permute()

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

Definition at line 362 of file Array-base.cc.

References do_permute(), and m_top.

Member Data Documentation

◆ m_dim

octave_idx_type* rec_permute_helper::m_dim
private

◆ m_n

int rec_permute_helper::m_n
private

Definition at line 444 of file Array-base.cc.

Referenced by Array< octave_value * >::Array().

◆ m_stride

octave_idx_type* rec_permute_helper::m_stride
private

◆ m_top

int rec_permute_helper::m_top
private

Definition at line 445 of file Array-base.cc.

Referenced by Array< octave_value * >::Array(), and permute().

◆ m_use_blk

bool rec_permute_helper::m_use_blk
private

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