Pick
Elements of list whose corresponding element of sel matches patt (default True).
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Pick✓Pick(list, sel)elements of list where the corresponding sel element is TruePick(list, sel, patt)elements of list where the corresponding sel element matches pattTyped signatures
| Type | Package | Applies |
|---|---|---|
(list<any>, list<any>, any?) -> list<any> | combinatorics | always |
Details
- list and sel must be the same length.
- Matching uses the same wildcard grammar as MatchQ.
Examples
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 5 agree |
| Crosswalk | Wolfram Language |