From: Difference between revisions

Jump to navigation Jump to search
54 bytes added ,  15:31, 13 May 2021
(→‎History: Fix ref tag)
Line 8: Line 8:
fbdcea
fbdcea
</source>{{Works in|[[dzaima/APL]], [[Extended Dyalog APL]]}}
</source>{{Works in|[[dzaima/APL]], [[Extended Dyalog APL]]}}
Without Select, one would have to write <source lang=apl inline>Shuffle←⊢⌷⍨∘⊂?⍨∘≢</source>. In this meaning, Select might be written as <source lang=apl inline>⌷⍨∘⊂⍨</source> or <source lang=apl inline>⌷⍤0 </source> in [[Dyalog APL]].
Without Select, one would have to write <source lang=apl inline>Shuffle←⊢⌷⍨∘⊂?⍨∘≢</source>. In this meaning, Select might be written as <source lang=apl inline>⌷⍨∘⊂⍨</source> or <source lang=apl inline>⌷⍤0 99</source> in [[Dyalog APL]] (where 99 exceeds the system's maximum array [[rank]]).


In a case where the left argument is a permutation vector for the right argument, the functionality can rightfully be called ''Permute''.
In a case where the left argument is a permutation vector for the right argument, the functionality can rightfully be called ''Permute''.

Navigation menu