aboutsummaryrefslogtreecommitdiff
path: root/help/rank.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/rank.md')
-rw-r--r--help/rank.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/help/rank.md b/help/rank.md
index 0bbab822..e355ef8d 100644
--- a/help/rank.md
+++ b/help/rank.md
@@ -1,20 +1,18 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/rank.html).*
# Circled Horizontal Bar With Notch (`⎉`)
-
+
## `𝔽⎉𝕘 𝕩`, `𝕨 𝔽⎉𝕘 𝕩`: Rank
-
+
Apply `𝔽` to cells at ranks given in `𝕘`.
-
+
The ranks applied are given by the following:
-
+
- `⎉ c` Rank-c cells of `𝕩` (monadic) or both arguments (dyadic)
- `⎉ b‿c` ⍝ Rank-b cells of `𝕨` and rank-c cells of `𝕩` (dyadic)
- `⎉ a‿b‿c` ⍝ Rank-a cells of `𝕩` (monadic), b-cells of `𝕨` and c-cells of `𝕩` (dyadic)
-
-
+
+
a ← 3‿2‿4⥊"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
⌽⎉2 a
-
-