Transpose: Difference between revisions

Jump to navigation Jump to search
603 bytes added ,  04:53, 23 November 2022
m (Text replacement - "<source" to "<syntaxhighlight")
Line 21: Line 21:
1 2 3
1 2 3
</syntaxhighlight>
</syntaxhighlight>
The transpose of a matrix could also be achieved if Monadic Transpose had [[rotate]]d the axes, rather than reversed them, but the design was chosen so keep the matrix identity <syntaxhighlight lang=apl inline>(m+.×n) ≡ ⍉(⍉n)+.×⍉m</syntaxhighlight> or <syntaxhighlight lang=apl inline>(m+.×n) ≡ n+.×⍢⍉m</syntaxhighlight> for [[array]]s of all [[rank]]s.<ref>[[Adin Falkoff|Falkoff, Adin]] and [[Ken Iverson]]. ''The Design of APL''. [https://www.jsoftware.com/papers/APLDesign1.htm#6 Formal manipulation]. IBM Journal of Research and Development. Volume 17. Number 4. July 1973.</ref>


=== Dyadic usage ===
=== Dyadic usage ===

Navigation menu