串列 指令

来自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