aboutsummaryrefslogtreecommitdiff
path: root/help/firstcell_select.md
blob: 016f2ef9c7d8d1655dcd5f56a6c4028d91739bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/firstcell_select.html).*

# Square Image Of (`⊏`)

## `⊏ 𝕩`: First Cell

First major cell of `𝕩`.

        ⊏ ⟨1, 2, 3⟩

        a ← 3‿3 ⥊ ↕9

        ⊏ a



## `𝕨 ⊏ 𝕩`: Select

Select the major cells of `𝕨` at the indices in `𝕩`.

        2‿0 ⊏ ⟨1, 2, 3⟩

        b ← 3‿3 ⥊ ↕9

        2‿0 ⊏ b