aboutsummaryrefslogtreecommitdiff
path: root/help/gradeup_binsup.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/gradeup_binsup.md
parent3d78f125185ce47784245d6619f2878a6ad1b587 (diff)
Remove trailing whitespace from help/ markdown sources
Diffstat (limited to 'help/gradeup_binsup.md')
-rw-r--r--help/gradeup_binsup.md22
1 files changed, 10 insertions, 12 deletions
diff --git a/help/gradeup_binsup.md b/help/gradeup_binsup.md
index 7a73116d..e1a9ac2c 100644
--- a/help/gradeup_binsup.md
+++ b/help/gradeup_binsup.md
@@ -1,28 +1,26 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/gradeup_binsup.html).*
# Delta Stile (`⍋`)
-
+
## `⍋ 𝕩`: Grade Up
-
+
Indices of `𝕩` that would sort its major cells in ascending order.
-
+
a ← 3‿2‿1
⍋ a
(⍋a) ⊏ a
-
-
-
+
+
+
## `𝕨 ⍋ 𝕩`: Bins Up
-
-Binary search for each element of `𝕩` in `𝕨`, and return the index found, if any.
-
+
+Binary search for each element of `𝕩` in `𝕨`, and return the index found, if any.
+
`𝕨` must be sorted in ascending order.
-
+
3‿4‿5‿7 ⍋ 2
3‿4‿5‿7 ⍋ 2‿6
-
-