From 2c50d91ec7eb8bc7890befe874a0b93729c2437e Mon Sep 17 00:00:00 2001 From: razetime Date: Wed, 19 Jan 2022 22:48:16 +0530 Subject: add h2s remove copied output, ascii filenames --- help/rank.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 help/rank.md (limited to 'help/rank.md') diff --git a/help/rank.md b/help/rank.md new file mode 100644 index 00000000..0bbab822 --- /dev/null +++ b/help/rank.md @@ -0,0 +1,20 @@ +*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 + + -- cgit v1.2.3