aboutsummaryrefslogtreecommitdiff
path: root/help/⊔groupindices group.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 21:21:13 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 21:21:13 +0530
commit6c111f1e71e945f66977aecc3322318aa21beacc (patch)
tree6831313b4698e9a5302ce8d9596afae966e08461 /help/⊔groupindices group.md
parentcf65cfb32f34b7c9fed4614479d8242c51321bac (diff)
Primitive Symbol help pages generated
Diffstat (limited to 'help/⊔groupindices group.md')
-rw-r--r--help/⊔groupindices group.md38
1 files changed, 20 insertions, 18 deletions
diff --git a/help/⊔groupindices group.md b/help/⊔groupindices group.md
index 172fe0f5..689ed6c1 100644
--- a/help/⊔groupindices group.md
+++ b/help/⊔groupindices group.md
@@ -1,19 +1,21 @@
-Square Cup (`⊔`)
+*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.
-```
- ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩ ⟩
- (↕8) ≍ ⊔ 4‿5‿6‿6‿4‿7‿5
-┌─
-╵ 0 1 2 3 4 5 6 7
- ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩
- ┘
-```
+
+ ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩ ⟩
+ (↕8) ≍ ⊔ 4‿5‿6‿6‿4‿7‿5
+ ┌─
+ ╵ 0 1 2 3 4 5 6 7
+ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩
+ ┘
+
`𝕨 ⊔ 𝕩`: Group
@@ -22,11 +24,11 @@ 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
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨ 6 4 ⟩ ⟨ 7 5 ⟩ ⟩
- 1‿0‿1‿¯1‿¯1‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟩
- 1‿0‿1‿¯1‿¯1‿3‿3‿10 ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟩
-``` \ No newline at end of file
+
+ 1‿0‿1‿2‿2‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨ 6 4 ⟩ ⟨ 7 5 ⟩ ⟩
+ 1‿0‿1‿¯1‿¯1‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟩
+ 1‿0‿1‿¯1‿¯1‿3‿3‿10 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟩
+