Histogram.Create Histogram(ICategorical Vector) Method
Returns a histogram of the counts for each value in a vector.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector that contains a histogram of the values in samples.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<double> CreateHistogram(
this ICategoricalVector samples
)
Parameters
- samples ICategoricalVector
- A vector.
Return Value
Vector<Double>A vector that contains a histogram of the values in samples.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ICategoricalVector. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Argument | samples is null. |