Epsilon Underbar ()

𝕩: Deduplicate

→full documentation

Unique major cells of 𝕩.

↗️
     4566475
⟨ 4 5 6 7 ⟩

    a  33  6

     a
┌─       
╵ 0 1 2  
  3 4 5  
        ┘

𝕨 𝕩: Find

→full documentation

Mark the top left location of the occurrences of 𝕨 in 𝕩 with a 1, and other locations with 0.

Result is the same shape as (𝕨)𝕩.

↗️
    "string"  "substring"
⟨ 0 0 0 1 ⟩

    "loooooong"  "short"
⟨⟩

    b  7 (4|⋆˜) 9

    c  (030010)

    c  b
┌─               
╵ 0 0 0 0 0 0 0  
  0 0 0 0 0 0 0  
  0 0 0 0 0 0 0  
  0 0 1 0 0 0 1  
  0 0 0 0 0 0 0  
  0 0 1 0 0 0 1  
                ┘