aboutsummaryrefslogtreecommitdiff
path: root/help/gradeup_binsup.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
commit2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch)
treeeb621b86b3c8269ab2dd63bd3c628acdf3521059 /help/gradeup_binsup.md
parent6c111f1e71e945f66977aecc3322318aa21beacc (diff)
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/gradeup_binsup.md')
-rw-r--r--help/gradeup_binsup.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/help/gradeup_binsup.md b/help/gradeup_binsup.md
new file mode 100644
index 00000000..1ddd891a
--- /dev/null
+++ b/help/gradeup_binsup.md
@@ -0,0 +1,28 @@
+*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.
+
+## `𝕨` must be sorted in ascending order.
+
+ 3‿4‿5‿7 ⍋ 2
+
+ 3‿4‿5‿7 ⍋ 2‿6
+
+