aboutsummaryrefslogtreecommitdiff
path: root/help/firstcell_select.md
blob: d4ee23548e416602a5161f74740bb1567681587d (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
26
27
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/firstcell_select.html).*

# Square Image Of (`⊏`)

## `⊏ 𝕩`: First Cell
[→full documentation](../doc/select.md)

First major cell of `𝕩`.

        ⊏ ⟨1, 2, 3⟩

        a ← 3‿3 ⥊ ↕9

        ⊏ a



## `𝕨 ⊏ 𝕩`: Select
[→full documentation](../doc/select.md)

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

        2‿0 ⊏ ⟨1, 2, 3⟩

        b ← 3‿3 ⥊ ↕9

        2‿0 ⊏ b