Click or drag to resize
Accord.NET (logo)

HistogramCompute Method (Double, Int32, Double)

Computes (populates) an Histogram mapping with values from a sample.

Namespace:  Accord.Statistics.Visualizations
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public void Compute(
	double[] values,
	int numberOfBins,
	double binWidth
)
Request Example View Source

Parameters

values
Type: SystemDouble
The values to be binned in the histogram.
numberOfBins
Type: SystemInt32
The desired number of histogram's bins.
binWidth
Type: SystemDouble
The desired width for the histogram's bins.
See Also