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_helper & | operator= (const rec_permute_helper &) |
Private Attributes | |
octave_idx_type * | dim |
int | n |
octave_idx_type * | stride |
int | top |
bool | use_blk |
Definition at line 296 of file Array.cc.
rec_permute_helper::rec_permute_helper | ( | const dim_vector & | dv, | |
const Array< octave_idx_type > & | perm | |||
) | [inline] |
Definition at line 308 of file Array.cc.
References dim, Array< T >::length(), n, OCTAVE_LOCAL_BUFFER, stride, top, and use_blk.
rec_permute_helper::~rec_permute_helper | ( | void | ) | [inline] |
rec_permute_helper::rec_permute_helper | ( | const rec_permute_helper & | ) | [private] |
static T* rec_permute_helper::blk_trans | ( | const T * | src, | |
T * | dest, | |||
octave_idx_type | nr, | |||
octave_idx_type | nc | |||
) | [inline, static] |
Definition at line 351 of file Array.cc.
References min(), and OCTAVE_LOCAL_BUFFER.
Referenced by do_permute(), and Array< T >::transpose().
T* rec_permute_helper::do_permute | ( | const T * | src, | |
T * | dest, | |||
int | lev | |||
) | const [inline, private] |
Definition at line 391 of file Array.cc.
References blk_trans(), copy_or_memcpy(), dim, stride, and use_blk.
Referenced by permute().
rec_permute_helper& rec_permute_helper::operator= | ( | const rec_permute_helper & | ) | [private] |
void rec_permute_helper::permute | ( | const T * | src, | |
T * | dest | |||
) | const [inline] |
Definition at line 430 of file Array.cc.
References do_permute(), and top.
Referenced by Array< T >::permute().
octave_idx_type* rec_permute_helper::dim [private] |
Definition at line 303 of file Array.cc.
Referenced by do_permute(), rec_permute_helper(), and ~rec_permute_helper().
int rec_permute_helper::n [private] |
Definition at line 301 of file Array.cc.
Referenced by rec_permute_helper().
octave_idx_type* rec_permute_helper::stride [private] |
Definition at line 304 of file Array.cc.
Referenced by do_permute(), and rec_permute_helper().
int rec_permute_helper::top [private] |
Definition at line 302 of file Array.cc.
Referenced by permute(), and rec_permute_helper().
bool rec_permute_helper::use_blk [private] |
Definition at line 305 of file Array.cc.
Referenced by do_permute(), and rec_permute_helper().