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