Shuffle Command

From GeoGebra Manual
Revision as of 13:05, 24 August 2011 by Andrea.duringer (talk | contribs)
Jump to: navigation, search



Shuffle[ List L]
returns list with same elements as L, but in random order.
Note: You can recompute the list via Recompute all objects in View Menu (or pressing F9).

See also RandomElement Command and RandomBetween Command.

CAS Syntax

Shuffle[ List L]
returns list with same elements as L, but in random order.
Example:
Shuffle[{3,5,1,7,3}] yields for example {5, 1, 3, 3, 7}.
© 2021 International GeoGebra Institute