| Histogram(Int32, Double) Constructor |
Construct a Histogram instance with the specified number of equal-sized bins,
initialized with the given data array.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public Histogram(
int numBins,
params double[] data
)
Public Sub New (
numBins As Integer,
ParamArray data As Double()
)
public:
Histogram(
int numBins,
... array<double>^ data
)
new :
numBins : int *
data : float[] -> Histogram
Parameters
- numBins Int32
- The desired number of bins.
- data Double
- An array of data (or just a sequential list of values)
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