diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-04 21:33:13 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-04 21:33:13 -0400 |
| commit | 015d9cd399100427b3e82fb183c81d034f00cd8c (patch) | |
| tree | 64470d2b546b3691483e35dcadaf925988ffcd37 /doc/group.md | |
| parent | cf072f50d2e1c600c788d37645721a94c55377c8 (diff) | |
Use atom for non-array throughout docs
Diffstat (limited to 'doc/group.md')
| -rw-r--r-- | doc/group.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/group.md b/doc/group.md index 17e05850..81e16f94 100644 --- a/doc/group.md +++ b/doc/group.md @@ -6,7 +6,7 @@ BQN replaces the [Key](https://aplwiki.com/wiki/Key) operator from J or Dyalog A ## Definition -Group operates on a numeric list of indices and an array, treated as a list of its major cells or "values", to produce a list of groups, each of which is a selection from those cells. The two arrays have the same length, and each value cell is paired with the index at the same position. That index indicates the result group the cell should go into, with an "index" of ¯1 indicating that it should be dropped and not appear in the result. +Group operates on a list of atomic-number indices and an array, treated as a list of its major cells or "values", to produce a list of groups, each of which is a selection from those cells. The two arrays have the same length, and each value cell is paired with the index at the same position. That index indicates the result group the cell should go into, with an "index" of ¯1 indicating that it should be dropped and not appear in the result. 0‿1‿2‿0‿1 ≍ "abcde" # Corresponding indices and values 0‿1‿2‿0‿1 ⊔ "abcde" # Values grouped by index |
