| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public Histogram(
int numBins,
DoubleVector data
)
Public Sub New (
numBins As Integer,
data As DoubleVector
)
public:
Histogram(
int numBins,
DoubleVector^ data
)
new :
numBins : int *
data : DoubleVector -> Histogram
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