diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 16:06:15 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 16:07:54 -0500 |
| commit | 8c2607133c1147eee5588738c9b05467b799b127 (patch) | |
| tree | 4e60cd11ca720dac4c68268a32c61b8ce1d0ec12 /help/transpose_reorderaxes.md | |
| parent | 9adb6f754d9e69b9db28b413eba90e3c4515d649 (diff) | |
Align filenames with repl.js descriptions
Diffstat (limited to 'help/transpose_reorderaxes.md')
| -rw-r--r-- | help/transpose_reorderaxes.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/help/transpose_reorderaxes.md b/help/transpose_reorderaxes.md new file mode 100644 index 00000000..244fc444 --- /dev/null +++ b/help/transpose_reorderaxes.md @@ -0,0 +1,27 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/transpose_reorderaxes.html).* + +# Circle Backslash (`⍉`) + +## `⍉ 𝕩`: Transpose + +Move the first axis of `𝕩` to the end. + + a ← 3‿3 ⥊ ↕9 + + ⍉ a + + b ← 1‿2‿3 ⥊ ↕6 + + ≢⍉ b + + + +## `𝕨 ⍉ 𝕩`: Dyad + +Rearrange the axes of `𝕩` as per the axis indices in `𝕨`. + + ≢ a ← 2‿3‿4‿5‿6 ⥊1 + + ≢ 1‿3‿2‿0‿4 ⍉ a + + |
