Click or drag to resize
Histogram Constructor (IEnumerableDouble, Int32)
Constructs a Histogram with a specific number of equally sized buckets. The upper and lower bound of the histogram will be set to the smallest and largest datapoint.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public Histogram(
	IEnumerable<double> data,
	int nbuckets
)

Parameters

data
Type: System.Collections.GenericIEnumerableDouble
The datasequence to build a histogram on.
nbuckets
Type: SystemInt32
The number of buckets to use.
See Also