Difference between revisions of "RandomElement Command"
From GeoGebra Manual
Line 4: | Line 4: | ||
:Returns randomly chosen element from the [[Lists|list]] (with uniform probability). All elements in the list must be of the same type. | :Returns randomly chosen element from the [[Lists|list]] (with uniform probability). All elements in the list must be of the same type. | ||
==CAS Syntax== | ==CAS Syntax== | ||
+ | ;RandomElement[ <List> ] | ||
+ | :Returns randomly chosen element from the [[Lists|list]] (with uniform probability). All elements in the list must be of the same type. |
Revision as of 15:47, 9 August 2011
- RandomElement[ <List> ]
- Returns randomly chosen element from the list (with uniform probability). All elements in the list must be of the same type.
CAS Syntax
- RandomElement[ <List> ]
- Returns randomly chosen element from the list (with uniform probability). All elements in the list must be of the same type.