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/classify_indexof.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 help/classify_indexof.md (limited to 'help/classify_indexof.md') diff --git a/help/classify_indexof.md b/help/classify_indexof.md new file mode 100644 index 00000000..0aa3b0d6 --- /dev/null +++ b/help/classify_indexof.md @@ -0,0 +1,30 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/classify_indexof.html).* + +# Square Original Of (`⊐`) + +## `⊐ 𝕩`: Classify + +First index of each major cell of `𝕩` in `𝕩`. + + ⊐ 5‿6‿2‿2‿5‿1 + + a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 + + ⊐ a + + + +## `𝕨 ⊐ 𝕩`: Index Of + +First index of each major cell of `𝕩` in `𝕨`. Rank of `𝕩` must be at least cell rank of 𝕨`. + +If a cell is not found in `𝕨`, that position will contain the length of `𝕨` (`≠𝕨`). + + 5‿6‿2‿2‿5‿1 ⊐ 5‿2‿1‿6 + + a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 + + a ⊐ ⟨9‿0‿9⟩ + + + -- cgit v1.2.3