public class Histogram
extends java.lang.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) |
java.lang.String |
toString() |
double |
value(double quantile) |
public Histogram(Histogram.BinScheme binScheme)