RandomElement 指令
来自GeoGebra Manual
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版。
- RandomElement[ <List> ]
CAS 视窗
- RandomElement[ <List> ]
- RandomElement[ <List> ]
- Returns randomly chosen element from the list (with uniform probability). All elements in the list must be of the same type.
- 范例:
RandomElement[{3, 2, -4, 7}]
yields one of {-4, 2, 3, 7}.
备注:
See also Element Command.
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.
- 范例:
RandomElement[{3, 2, -4, 7}]
yields one of {-4, 2, 3, 7}.
备注:
See also Element Command.