Reorder dimensions of array. More...

Modules

 reorder
 The C++ interface for reorder.
 
 af_reorder
 The C interface for reorder.
 

Detailed Description

Reorder dimensions of array.

array a(seq(3));
a = tile(a,1,3); //a = [0 0 0]
// [1 1 1]
// [2 2 2]
a = reorder(a, 1, 0); //Switch first and second dimension
//a = [0 1 2]
// [0 1 2]
// [0 1 2]