Returns a histogram of the counts for each value in a vector.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<double> CreateHistogram(
this ICategoricalVector samples
)
<ExtensionAttribute>
Public Shared Function CreateHistogram (
samples As ICategoricalVector
) As Vector(Of Double)
public:
[ExtensionAttribute]
static Vector<double>^ CreateHistogram(
ICategoricalVector^ samples
)
[<ExtensionAttribute>]
static member CreateHistogram :
samples : ICategoricalVector -> Vector<float>
Parameters
- samples
- Type: Extreme.MathematicsICategoricalVector
A vector.
Return Value
Type:
VectorDoubleA 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).
Reference