Difference between revisions of "KeepIf Command"
From GeoGebra Manual
(added v4 - example formatting) |
m (1 revision: tt => code) |
(No difference)
|
Revision as of 15:23, 27 February 2011
- KeepIf[Condition, List]
- Creates a new list that only contains those elements of the initial list that fulfill the condition.
- Example:
KeepIf[x<3, {1, 2, 3, 4, 1, 5, 6}]
returns the new list {1, 2, 1}.