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.
 
 
 
  
 Next: Example of Array Sorting 
Up: HPF Intrinsics and Library
 Previous: SEGMENT and EXCLUSIVE
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.