aboutsummaryrefslogtreecommitdiff
path: root/doc/transpose.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 18:26:52 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 18:29:59 -0400
commit229e2cd2f5c78b13c483a8559dead2c8f31d8e42 (patch)
tree9d6a1ff0100bda7632948987352b3d6614c3eeb5 /doc/transpose.md
parent010b97c8cf346dfeafc289ae66f77e8c61cd9865 (diff)
Terminology changes: subject, 1/2-modifier, Box/Unbox to Enclose/Merge, blocks
Diffstat (limited to 'doc/transpose.md')
-rw-r--r--doc/transpose.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/transpose.md b/doc/transpose.md
index 006f0de6..73653e0e 100644
--- a/doc/transpose.md
+++ b/doc/transpose.md
@@ -42,7 +42,7 @@ But, reading in ravel order, the argument and result have exactly the same eleme
-To exchange multiple axes, use the Power operator. Like Rotate, a negative power will move axes in the other direction. In particular, to move the last axis to the front, use Inverse (as you might expect, this exactly inverts `⍉`).
+To exchange multiple axes, use the Power modifier. Like Rotate, a negative power will move axes in the other direction. In particular, to move the last axis to the front, use Inverse (as you might expect, this exactly inverts `⍉`).
≢ ⍉⍟3 a23456
[ 5 6 2 3 4 ]
@@ -51,7 +51,7 @@ To exchange multiple axes, use the Power operator. Like Rotate, a negative power
In fact, we have `≢⍉⍟k a ←→ k⌽≢a` for any number `k` and array `a`.
-To move axes other than the first, use the Rank operator in order to leave initial axes untouched. A rank of `k>0` transposes only the last `k` axes while a rank of `k<0` ignores the first `|k` axes.
+To move axes other than the first, use the Rank modifier in order to leave initial axes untouched. A rank of `k>0` transposes only the last `k` axes while a rank of `k<0` ignores the first `|k` axes.
≢ ⍉⎉3 a23456
[ 2 3 5 6 4 ]
@@ -104,7 +104,7 @@ Finally, it's worth noting that, as monadic Transpose moves the first axis to th
Here we define the two valences of Transpose more precisely.
-A non-array right argument to Transpose is always boxed to get a scalar array before doing anything else.
+A non-array right argument to Transpose is always enclosed to get a scalar array before doing anything else.
Monadic transpose is identical to `(≠∘≢-1˜)⊸⍉`, except that for scalar arguments it returns the array unchanged rather than giving an error.