aboutsummaryrefslogtreecommitdiff
path: root/help/groupindices_group.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/groupindices_group.md
parent3d78f125185ce47784245d6619f2878a6ad1b587 (diff)
Remove trailing whitespace from help/ markdown sources
Diffstat (limited to 'help/groupindices_group.md')
-rw-r--r--help/groupindices_group.md24
1 files changed, 11 insertions, 13 deletions
diff --git a/help/groupindices_group.md b/help/groupindices_group.md
index 5afa162b..1dc11605 100644
--- a/help/groupindices_group.md
+++ b/help/groupindices_group.md
@@ -1,31 +1,29 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/groupindices_group.html).*
# Square Cup (`⊔`)
-
+
## `⊔ 𝕩`: Group Indices
-
+
Group the indices of the major cells of `𝕩` by their respective values.
-
-`𝕩` must consist of integers. Groups start from 0.
-
+
+`𝕩` must consist of integers. Groups start from 0.
+
⊔ 4‿5‿6‿6‿4‿7‿5
(↕8) ≍ ⊔ 4‿5‿6‿6‿4‿7‿5
-
-
+
+
## `𝕨 ⊔ 𝕩`: Group
-
+
Group the major cells of `𝕩` by their respective indices in `𝕨`.
-
+
If an element corresponds to `¯1`, it is excluded from grouping.
-
+
An extra element can be added to the end of `𝕨` to specify length of the result.
-
+
1‿0‿1‿2‿2‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
1‿0‿1‿¯1‿¯1‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
1‿0‿1‿¯1‿¯1‿3‿3‿10 ⊔ 4‿5‿6‿6‿4‿7‿5
-
-