Click or drag to resize
Histogram Constructor (IEnumerableDouble, Int32, Double, Double)
Constructs a Histogram with a specific number of equally sized buckets.

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

Parameters

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