Difference between revisions of "Flatten Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|list}} |
− | {{command|list}} | + | ; Flatten( <List> ): Flattens lists to one list. |
− | ; Flatten | + | :{{Example|1=<code><nowiki>Flatten({2, 3, {5, 1}, {{2, 1, {3}}}})</nowiki></code> yields ''list1 = {2, 3, 5, 1, 2, 1, 3}''.}} |
− | :{{Example|1=<code><nowiki>Flatten |
Latest revision as of 11:12, 6 October 2017
- Flatten( <List> )
- Flattens lists to one list.
- Example:
Flatten({2, 3, {5, 1}, {{2, 1, {3}}}})
yields list1 = {2, 3, 5, 1, 2, 1, 3}.