Next: Example of Array Sorting
Up: HPF Intrinsics and Library
Previous: SEGMENT and EXCLUSIVE
There are two functions in this class:
- GRADE_UP -- smallest first,
- GRADE_DOWN -- largest first,
These can be used to sort multi-dimensional arrays
as a whole (in array element order) or
along (an optionally) specified dimension.
Each function returns a permutation of the array indices. Duplicate
values remain in the original (array element) order.
For more information, click here
Next: Example of Array Sorting
Up: HPF Intrinsics and Library
Previous: SEGMENT and EXCLUSIVE
Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996Not for commercial use.