aboutsummaryrefslogtreecommitdiff
path: root/doc/transpose.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-11-12 22:15:44 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-11-12 22:15:44 -0500
commit59ab5338d4e23eb108a43f876aa979238ae2490e (patch)
tree616acd22834a1aa42b030a0a28e024df43683dd8 /doc/transpose.md
parent3a5c72c7a3457560be2ca4a837eb5491e5b9e8b6 (diff)
Slightly less APL-centric documentation
Diffstat (limited to 'doc/transpose.md')
-rw-r--r--doc/transpose.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/transpose.md b/doc/transpose.md
index d7718b5e..64d1cbe2 100644
--- a/doc/transpose.md
+++ b/doc/transpose.md
@@ -2,7 +2,7 @@
# Transpose
-Transpose (`⍉`) is a tool for rearranging the axes of an array. BQN's version is tweaked relative to APL to align better with the leading axis model and make common operations easier.
+Transpose (`⍉`) is a tool for rearranging the axes of an array `𝕩`. Without a left argument, it moves the first axis to the end, while a left argument can specify an arbitrary rearrangement. Both cases are tweaked relative to APL to align better with the [leading axis](leading.md) model and make common operations easier.
## Transpose basics
@@ -77,7 +77,7 @@ Since this kind of rearrangement can be counterintuitive, it's often easier to u
≢ 1‿3‿2‿0‿4 ⍉⁼ a23456
-So far, all like APL. BQN makes one little extension, which is to allow only some axes to be specified. Then `𝕨` will be matched up with [leading axes](leading.md) of `𝕩`. Those axes are moved according to `𝕨`, and remaining axes are placed in order into the gaps between them.
+BQN makes one further extension, which is to allow only some axes to be specified (this is the only difference in dyadic `⍉` relative to APL). Then `𝕨` will be matched up with [leading axes](leading.md) of `𝕩`. Those axes are moved according to `𝕨`, and remaining axes are placed in order into the gaps between them.
≢ 0‿2‿4 ⍉ a23456