Permutations and the APL Grade Down Function
No Access Until
Permanent Link(s)
Collections
Other Titles
Author(s)
Abstract
The APL gradeup (gradedown) function (denoted by grades' the elements of $v$ in ascending (descending) order. (Among equal elements of $v$ the ranking is determined by their position). For example, if $v=(2.3,4.7,6.8,0.6,3.7,4.7)$ then $\uparrow v$ is (4,1,5,2,6,3) and $\downarrow v$ is (3,2,6,5,1,4). An immediate consequence of the versatility of this functional form is that the expression $v[\uparrow v] (v[\downarrow v])$
sorts' the elements of