Click or drag to resize

Histogram(Int32, DoubleVector) Constructor

Construct a Histogram instance with the specified number of equal-sized bins, initialized with the given data vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Histogram(
	int numBins,
	DoubleVector data
)

Parameters

numBins  Int32
The desired number of bins.
data  DoubleVector
A vector of data to place in the histogram.
Remarks
The bins are of equal size and scaled with the maximim and minimum data in data. The counts in the histogram are initialized with the contents of data.
See Also