Take
returns
expr
with all but the firstn
leaves removed.
Examples
Take a submatrix:
Take a single column:
Cannot take positions -5
through -2
in {1, 2, 3, 4, 5, 6}
.
Nonatomic expression expected at position 1
in Take(l, {-1})
.
Empty case
Cannot take positions 1
through 0
in {1, 2, 3, 4, 5}
.
Implementation status
- ✅ - full supported