Grade: Difference between revisions

Jump to navigation Jump to search
255 bytes added ,  16:39, 17 February 2022
(4 intermediate revisions by one other user not shown)
Line 29: Line 29:
</source>
</source>


Grade usually performs [[wikipedia:sorting algorithm#stability|stable sorting]], so that the indices of the repeated major cells are sorted by the order of appearance. Because of this, Grade Down produces the reverse of Grade Up only if all the major cells are unique.
Grade performs [[wikipedia:sorting algorithm#stability|stable sorting]], so that the indices of the repeated major cells are sorted by the order of appearance. Because of this, Grade Down produces the reverse of Grade Up only if all the major cells are unique.


<source lang=apl>
<source lang=apl>
Line 102: Line 102:


== External links ==
== External links ==
=== Lessons ===
* [https://chat.stackexchange.com/transcript/52405?m=41581276#41581276 APL Cultivation]


=== Documentation ===
=== Documentation ===
Line 112: Line 108:
* APLX [http://microapl.com/apl_help/ch_020_020_630.htm Grade Up], [http://microapl.com/apl_help/ch_020_020_640.htm Grade Down]
* APLX [http://microapl.com/apl_help/ch_020_020_630.htm Grade Up], [http://microapl.com/apl_help/ch_020_020_640.htm Grade Down]
* J Dictionary [https://www.jsoftware.com/help/dictionary/d422.htm Grade Up], [https://www.jsoftware.com/help/dictionary/d432.htm Grade Down], NuVoc [https://code.jsoftware.com/wiki/Vocabulary/slashco Grade]
* J Dictionary [https://www.jsoftware.com/help/dictionary/d422.htm Grade Up], [https://www.jsoftware.com/help/dictionary/d432.htm Grade Down], NuVoc [https://code.jsoftware.com/wiki/Vocabulary/slashco Grade]
* [https://mlochbaum.github.io/BQN/doc/order.html#grade BQN]


=== Libraries ===
=== Other ===
 
* [https://github.com/abrudz/Sort abrudz/Sort]: Examples of sorting variations ([[Atomic vector|Classic]], [[wikipedia:Natural_sort_order|Natural]], Danish, Finnish, German) using dyadic grade


* [https://chat.stackexchange.com/transcript/52405?m=41581276#41581276 APL Cultivation] lesson
* [https://www.dyalog.com/blog/2018/04/dyadic-grade/ Dyadic Grade] blog post by [[Roger Hui]]
* [https://github.com/abrudz/Sort abrudz/Sort] library: Examples of sorting variations ([[Atomic vector|Classic]], [[wikipedia:Natural_sort_order|Natural]], Danish, Finnish, German) using dyadic grade
* [[Roger Hui]]: [https://www.dyalog.com/blog/2018/04/dyadic-grade/ Dyadic Grade], [[Dyalog]] Blog. April 25, 2018.
{{APL built-ins}}[[Category:Primitive functions]]
{{APL built-ins}}[[Category:Primitive functions]]

Navigation menu