串列 指令

来自GeoGebra Manual
跳转至: 导航搜索
Accessories dictionary.png
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版



集合运算

符号╱指令 意义 范例 说明
属于 2 ∈ {1, 2, 3} 为 true 用于判断某元素有没有在集合里面
包含于或等于 {1, 2} ⊆ {1, 2, 3} 为 true 注意:若 A={1,2}、B={2,1},

A==B 为 false

A⊆B && B⊆A 为 true

包含于但不等于 {1, 2} ⊂ {1, 2} 为 false
\ 差集 {1, 2, 3, 4, 5}\{1, 2, 3} 得 {4, 5}
Union 联集 Union[{1, 2, 3, 4}, {3, 4, 5, 6}] 得 {1, 2, 3, 4, 5, 6}
Intersection 交集 Intersection[{1, 2, 3, 4}, {3, 4, 5, 6}] 得 {3, 4} 请勿与 Intersect 指令混淆
KeepIf 子集 KeepIf[x<3, {1, 2, 3, 4, 1, 5, 6}] 得 {1, 2, 1} 此指令若用于数列,则可使用以 x 为变数的任意限制条件。

但若用于其他物件的序列,则只能用:

x==<固定物件>x!=<固定物件>

这两种形式的条件。

集合指令

© 2024 International GeoGebra Institute