Rearranges the array elements in arr->data such that the dimensions are ordered according to the permutation given in the vector perm (dimension arr->naxis), using the function ndim_perm. This is a generalization of the matrix transpose operator to n dimensions. The permuted data are returned in a newly created array struct, created wih drms_array_create.
Definition at line 137 of file drms_array.c.
|