From: Difference between revisions

Jump to navigation Jump to search
284 bytes added ,  10:51, 22 April 2020
extension
(dzaima/APL update)
(extension)
Line 18: Line 18:
bdace
bdace
</source>{{Works in|[[dzaima/APL]], [[Extended Dyalog APL]]}}
</source>{{Works in|[[dzaima/APL]], [[Extended Dyalog APL]]}}
== Potential extension ==
Select can be defined as <source lang=apl inline>⌷⍨∘⊃⍨⍤0 ∞</source> thus allowing both the above usage and "scatter point indexing":
<source lang=apl>
      1 4 3 ⊇ 4 4⍴⎕A
ABCD
MNOP
IJKL
      (1 1)(4 4)(3 4) ⊇ 4 4⍴⎕A
APL
</source>
{{APL built-ins}}
{{APL built-ins}}

Navigation menu