public static interface Histogram.BinScheme
Modifier and Type | Method and Description |
---|---|
int |
bins()
Get the number of bins.
|
double |
fromBin(int bin)
Determine the value at the upper range of the specified bin.
|
int |
toBin(double value)
Determine the 0-based bin number in which the supplied value should be placed.
|
int bins()
int toBin(double value)
value
- the valuedouble fromBin(int bin)
bin
- the 0-based bin numbernegative infinity
if the bin number is negative or positive infinity
if the 0-based
bin number is greater than or equal to the number of bins
.