general/misc/
dimen_shift.pro
Routines
top source dimen_shift
FUNCTION: dimen_shift(x,shift) NAME: dimen_shift PURPOSE: Rotate dimensions of a multidimensional array. This function is very similar to transpose but works on multi-dimensional arrays to shift the dimensions around. It has no effect on scalars and one dimensional arrays. INPUT: x multi-dimensional array of any type shift: 1 or -1 direction of shift. CREATED BY: Davin Larson LAST MODIFICATION: @(#)dimen_shift.pro 1.4 98/07/09
Parameters
- x
- shft
File attributes
Modification date: | Thu Feb 13 16:43:47 2014 |
Lines: | 18 |