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 客户端使用