diff options
Diffstat (limited to 'help/⊐classify indexof.md')
| -rw-r--r-- | help/⊐classify indexof.md | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/help/⊐classify indexof.md b/help/⊐classify indexof.md index b4605a59..b7fe2072 100644 --- a/help/⊐classify indexof.md +++ b/help/⊐classify indexof.md @@ -1,37 +1,39 @@ -Square Original Of (`⊐`) +*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 -⟨ 0 1 2 2 0 3 ⟩ - a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 -┌─ -╵ 0 1 2 - 9 0 9 - 0 1 2 - ┘ - ⊐ a -⟨ 0 1 0 ⟩ -``` + + ⊐ 5‿6‿2‿2‿5‿1 + ⟨ 0 1 2 2 0 3 ⟩ + a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 + ┌─ + ╵ 0 1 2 + 9 0 9 + 0 1 2 + ┘ + ⊐ a + ⟨ 0 1 0 ⟩ + `𝕨 ⊐ 𝕩`: 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 -⟨ 0 2 5 1 ⟩ - a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 -┌─ -╵ 0 1 2 - 9 0 9 - 0 1 2 + + 5‿6‿2‿2‿5‿1 ⊐ 5‿2‿1‿6 + ⟨ 0 2 5 1 ⟩ + a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2 + ┌─ + ╵ 0 1 2 + 9 0 9 + 0 1 2 + ┘ + a ⊐ ⟨9‿0‿9⟩ + ┌· + · 3 ┘ - a ⊐ ⟨9‿0‿9⟩ -┌· -· 3 - ┘ -```
\ No newline at end of file + |
