Transpose: Difference between revisions

Jump to navigation Jump to search
377 bytes added ,  23:20, 21 December 2021
(→‎External links: Link to Roger's forum post)
Line 23: Line 23:


=== Dyadic usage ===
=== Dyadic usage ===
 
{| class=wikitable style="float:right"
|{{quote | "Dyadic transpose, <source lang=apl inline>x⍉y</source>, is probably one of the last primitives to be mastered for an APLer, but is actually straightforward to describe."|[[Roger Hui]]. <ref>[https://forums.dyalog.com/viewtopic.php?f=30&t=1648 ''dyadic transpose, a personal history'']. Dyalog Forums. 22 May 2020.</ref>}}
|}
For [[dyadic]] usage, the left argument X must be a [[vector]] whose length equals the [[rank]] of the right argument Y, and the elements must form a range so that <source lang=apl inline>∧/X∊⍳(1-⎕IO)+⌈/X</source> is satisfied.
For [[dyadic]] usage, the left argument X must be a [[vector]] whose length equals the [[rank]] of the right argument Y, and the elements must form a range so that <source lang=apl inline>∧/X∊⍳(1-⎕IO)+⌈/X</source> is satisfied.


Navigation menu