RandomElement 指令

来自GeoGebra Manual
跳转至: 导航搜索
Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


RandomElement[ <List> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊

CAS 視窗

RandomElement[ <List> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
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.
© 2021 International GeoGebra Institute