Grade down: Difference between revisions
Content added Content deleted
(grade down) |
("Fix redirects with lowercase titles") Tag: New redirect |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
#redirect [[grade]] |
|||
{{primitive|>x}} |
|||
{{lowercase title}} |
|||
The '''grade down''' primitive is used to get the indices of an array that would sort it in descending order. |
|||
[[Category:Verbs]] |
|||
Since grading is not the same as sorting, a general idiom used to sort arrays is <code>{x(>x)}</code> or other equivalent. |
|||
[[Category:Operator verbs]] |
|||
[[Category:Primitives]] |
|||
For numeric arrays: |
|||
<pre> |
|||
>34 -1 0 67 32767 |
|||
4 3 0 2 1 |
|||
</pre> |
|||
Grading of string arrays largely depends upon the implementation, as shown in [[grade up]]. |
Latest revision as of 06:43, 9 July 2022
Redirect to: