From: Difference between revisions

Jump to navigation Jump to search
10 bytes added ,  15:32, 13 May 2021
Line 21: Line 21:
== Extensions ==
== Extensions ==
=== Scatter-point ===
=== Scatter-point ===
In [[A Dictionary of APL]] and [[J]], a boxed left argument indicates that each [[element]] will be used independently to select a [[cell]] of the argument. The behavior on a single element is very similar to APL's [[Index (function)|Index]] function. <source lang=j inline>{</source> has a left [[Function rank|rank]] of 0, so that results are [[mix]]ed together and those with different shapes may be padded with [[fill]]s.
In [[A Dictionary of APL]], [[J]], and [[SAX]], a boxed left argument indicates that each [[element]] will be used independently to select a [[cell]] of the argument. The behavior on a single element is very similar to APL's [[Index (function)|Index]] function. <source lang=j inline>{</source> has a left [[Function rank|rank]] of 0, so that results are [[mix]]ed together and those with different shapes may be padded with [[fill]]s.
<source lang=j>
<source lang=j>
   ]a =. 4 4$(a.i.'A')}.a.
   ]a =. 4 4$(a.i.'A')}.a.

Navigation menu