Math & Counting Operations on Lists

Ordinary mathematical functions in the Wolfram Language are always "listable", so that they are immediately applied in parallel across lists. The Wolfram Language provides a wide variety of tightly integrated functions for analyzing elements in lists of any size and structure.

{..}+{..}, etc. — automatically operate in parallel on list elements

(RefLink[Listable, paclet:ref/Listable]) — attribute carried by math functions specifying automatic threading over lists

(RefLink[Length, paclet:ref/Length]) — number of elements in a list

(RefLink[Total, paclet:ref/Total]) — total from adding up elements in a list

(RefLink[Count, paclet:ref/Count]) — count how many elements match a pattern

(RefLink[Counts, paclet:ref/Counts]) — make an association giving the number of copies of each distinct element

(RefLink[BinCounts, paclet:ref/BinCounts]) — count the number of elements in a sequence of bins

(RefLink[CountDistinct, paclet:ref/CountDistinct]) — count the number of distinct elements

(RefLink[CountDistinctBy, paclet:ref/CountDistinctBy]) — count distinct values from applying a function

(RefLink[MaximalBy, paclet:ref/MaximalBy]), (RefLink[MinimalBy, paclet:ref/MinimalBy]) — maximal, minimal elements based on a criterion

Multidimensional Arrays

(OrangeLink[Statistical Analysis », paclet:guide/Statistics])

(OrangeLink[Vector-Oriented Operations », paclet:guide/OperationsOnVectors])

Set-Oriented Operations

(OrangeLink[Sequence-Related Operations », paclet:guide/SequenceAlignmentAndComparison])

(RefLink[SequencePosition, paclet:ref/SequencePosition]) — find positions of sublists