public class GKQuantiler extends Object implements Quantiler
| Modifier and Type | Field and Description |
|---|---|
static double |
DFLT_RANK_ACCURACY
Default rank accuracy.
|
| Constructor and Description |
|---|
GKQuantiler()
Constructor with default accumulator.
|
GKQuantiler(GKArray gkArray)
Constructor with custom accumulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptDatum(double value)
Accepts a value to accumulate for quantile calculations.
|
void |
addQuantiler(Quantiler other)
Merges the state of another compatible accumulator into this one;
the effect is as if all the
Quantiler.acceptDatum(double) calls that were
made on other had been made on this one. |
double |
getValueAtQuantile(double quantile)
Returns the value at a given quantile.
|
void |
ready()
Call after all data has been accumulated and before quantiles are
to be calculated.
|
public static final double DFLT_RANK_ACCURACY
public GKQuantiler()
public GKQuantiler(GKArray gkArray)
public void acceptDatum(double value)
QuantileracceptDatum in interface Quantilervalue - value to accumulatepublic void addQuantiler(Quantiler other)
QuantilerQuantiler.acceptDatum(double) calls that were
made on other had been made on this one.addQuantiler in interface Quantilerother - compatible quantiler to merge with thispublic void ready()
Quantilerpublic double getValueAtQuantile(double quantile)
QuantilergetValueAtQuantile in interface Quantilerquantile - value in the range 0..1Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.