aboutsummaryrefslogtreecommitdiff
path: root/help/firstcell_select.md
blob: e0a3bc94f9e8772ea3e7737ba795fe3a247402d8 (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-cell)

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