Square Cup ()

𝕩: Group Indices

→full documentation

Group the indices of the major cells of 𝕩 by their respective values.

𝕩 must consist of integers. Groups start from 0.

↗️
     4566475
⟨ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩ ⟩

    (8)   4566475
┌─                                           
╵ 0  1  2  3  4       5       6       7      
  ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩  
                                            ┘

𝕨 𝕩: Group

→full documentation

Group the major cells of 𝕩 by their respective indices in 𝕨.

If an element corresponds to ¯1, it is excluded from grouping.

An extra element can be added to the end of 𝕨 to specify length of the result.

↗️
    1012233   4566475
⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨ 6 4 ⟩ ⟨ 7 5 ⟩ ⟩

    101¯1¯133   4566475
⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟩

    101¯1¯13310   4566475
⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟩