public class Histogram extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Histogram.BinScheme
An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end
of each bin.
|
static class |
Histogram.ConstantBinScheme
A scheme for calculating the bins where the width of each bin is a constant determined by the range of values
and the number of bins.
|
static class |
Histogram.LinearBinScheme
A scheme for calculating the bins where the width of each bin is one more than the previous bin, and therefore
the bin widths are increasing at a linear rate.
|
Constructor and Description |
---|
Histogram(Histogram.BinScheme binScheme) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
float[] |
counts() |
void |
record(double value) |
String |
toString() |
double |
value(double quantile) |
public Histogram(Histogram.BinScheme binScheme)