Qurak
說明文件
價格
登入
Qurak
說明文件
函式
CountDistinct
CountDistinct
可用
Counts the number of distinct elements in a list.
形式
CountDistinct[list]
CountDistinct[list, test]
已驗證的範例
CountDistinct[{1, 2, 2, 3, 3, 3}] → 3
CountDistinct[{1, 2, 4}, Abs[#1 - #2] < 2 &] → 2
在 Qurak 上執行
搜尋參考文件
主題
List Manipulation
- Math & Counting Operations »
Mathematical And Counting Operations On Lists
- Multidimensional Arrays
New In100 Alphabetical Listing
- C
Summary Of New Features In140
- Core Language
Summary Of New Features In140
- Core Language
相關
CountDistinctBy
Count
DeleteDuplicates
Counts
DuplicateFreeQ
Length
BinCounts
Comap
ComapApply
Differences
Total
Accumulate
← Count
CountDistinctBy →
全部 6300 個函式
·
從 MCP 用戶端使用這個