./
all_array_indices.pro
topall_array_indices
result = all_array_indices(array [, DIMENSIONS=DIMENSIONS])
convert all one dimensional subscripts of an array into multi-dimensional subscripts
only works on 1,2,3,4d arrays just for lazyness
Return value
array of N-dimensional indices corresponding to the input
Parameters
- array in required
array to calculate indices from
Keywords
- DIMENSIONS in optional
when set array has the dims of the array insterad of the array itself
Examples
Author information
- History:
Tue Sep 23 16:55:11 2008, Brian Larsen written andtested from http://groups.google.com/group/comp.lang.idl-pvwave/browse_frm/thread/11110894dfc04ba7#
Statistics
| Lines: | 42 |
| McCabe complexity: |
File attributes
| Modifcation date: | Tue Sep 23 17:08:30 2008 |
| Lines: | 79 |
![[attach.png]](idldoc-resources/attach.png)