Returns a dictionary in which the keys are the unique elements in a given data set and the values are how many times they occur.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static IDictionary Counts(
	DoubleVector data
)
Visual Basic (Declaration)
Public Shared Function Counts ( _
	data As DoubleVector _
) As IDictionary
Visual C++
public:
static IDictionary^ Counts(
	DoubleVector^ data
)

Parameters

data
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector.

Return Value

A dictionary of unique elements and their counts.

See Also