aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/help/transpose_reorderaxes.html8
-rw-r--r--help/transpose_reorderaxes.md4
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/help/transpose_reorderaxes.html b/docs/help/transpose_reorderaxes.html
index ce790409..61b0daa1 100644
--- a/docs/help/transpose_reorderaxes.html
+++ b/docs/help/transpose_reorderaxes.html
@@ -23,9 +23,9 @@
</pre>
<h2 id="---reorder-axes"><a class="header" href="#---reorder-axes"><code><span class='Value'>𝕨</span> <span class='Function'>⍉</span> <span class='Value'>𝕩</span></code>: Reorder Axes</a></h2>
<p>Rearrange the axes of <code><span class='Value'>𝕩</span></code> as per the axis indices in <code><span class='Value'>𝕨</span></code>.</p>
-<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4omiIGIg4oaQIDLigL8z4oC/NOKAvzXigL82IOKlijEKCiAgIOKJoiAx4oC/M+KAvzLigL8w4oC/NCDijYkgYg==">↗️</a><pre> <span class='Function'>≢</span> <span class='Value'>b</span> <span class='Gets'>←</span> <span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>4</span><span class='Ligature'>‿</span><span class='Number'>5</span><span class='Ligature'>‿</span><span class='Number'>6</span> <span class='Function'>⥊</span><span class='Number'>1</span>
-<span class='Error'>Error: Redefinition</span>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4omiIGMg4oaQIDLigL8z4oC/NOKAvzXigL82IOKlijEKCiAgIOKJoiAx4oC/M+KAvzLigL8w4oC/NCDijYkgYw==">↗️</a><pre> <span class='Function'>≢</span> <span class='Value'>c</span> <span class='Gets'>←</span> <span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>4</span><span class='Ligature'>‿</span><span class='Number'>5</span><span class='Ligature'>‿</span><span class='Number'>6</span> <span class='Function'>⥊</span><span class='Number'>1</span>
+⟨ 2 3 4 5 6 ⟩
- <span class='Function'>≢</span> <span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>0</span><span class='Ligature'>‿</span><span class='Number'>4</span> <span class='Function'>⍉</span> <span class='Value'>b</span>
-<span class='Error'>Error: 𝕨⍉𝕩: Length of 𝕨 must not exceed rank of 𝕩</span>
+ <span class='Function'>≢</span> <span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>0</span><span class='Ligature'>‿</span><span class='Number'>4</span> <span class='Function'>⍉</span> <span class='Value'>c</span>
+⟨ 5 2 4 3 6 ⟩
</pre>
diff --git a/help/transpose_reorderaxes.md b/help/transpose_reorderaxes.md
index d26664a5..6e04582d 100644
--- a/help/transpose_reorderaxes.md
+++ b/help/transpose_reorderaxes.md
@@ -20,8 +20,8 @@ Move the first axis of `𝕩` to the end.
Rearrange the axes of `𝕩` as per the axis indices in `𝕨`.
- ≢ b ← 2‿3‿4‿5‿6 ⥊1
+ ≢ c ← 2‿3‿4‿5‿6 ⥊1
- ≢ 1‿3‿2‿0‿4 ⍉ b
+ ≢ 1‿3‿2‿0‿4 ⍉ c