diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
| commit | 2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch) | |
| tree | eb621b86b3c8269ab2dd63bd3c628acdf3521059 /help/transpose_dyadtranspose.md | |
| parent | 6c111f1e71e945f66977aecc3322318aa21beacc (diff) | |
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/transpose_dyadtranspose.md')
| -rw-r--r-- | help/transpose_dyadtranspose.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/help/transpose_dyadtranspose.md b/help/transpose_dyadtranspose.md new file mode 100644 index 00000000..d3db90ab --- /dev/null +++ b/help/transpose_dyadtranspose.md @@ -0,0 +1,27 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/transpose_dyadtranspose.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 + + |
