aboutsummaryrefslogtreecommitdiff
path: root/help/indices_replicate.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 17:06:40 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 17:06:40 -0500
commitc9bc3e80280fd8a38f6297de80196dcbff9c28d9 (patch)
tree6be559af4ebeab26168836a8fb4d0b4734ecee85 /help/indices_replicate.md
parent3d78f125185ce47784245d6619f2878a6ad1b587 (diff)
Remove trailing whitespace from help/ markdown sources
Diffstat (limited to 'help/indices_replicate.md')
-rw-r--r--help/indices_replicate.md18
1 files changed, 8 insertions, 10 deletions
diff --git a/help/indices_replicate.md b/help/indices_replicate.md
index 9ffad842..4d4d5515 100644
--- a/help/indices_replicate.md
+++ b/help/indices_replicate.md
@@ -1,25 +1,23 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/indices_replicate.html).*
# Solidus (`/`)
-
+
## `/ 𝕩`: Indices
-
+
Repeat the index of each element in `𝕩` by the element's value. `𝕩` must be rank 1.
-
+
/ 1‿2‿3
/ 1‿0‿1
-
-
+
+
## `𝕨 / 𝕩`: Replicate
-
+
Repeat each major cell in `𝕩` by the corresponding element in `𝕨`.
-
+
Atomic `𝕨` applies to all elements.
-
+
3 / "copy"
1‿0‿1 / 1‿2‿3
-
-