public static final class Quantiles.ScaleAndIndex extends Object
Modifier and Type | Method and Description |
---|---|
double |
compute(Collection<? extends Number> dataset)
Computes the quantile value of the given dataset.
|
double |
compute(double... dataset)
Computes the quantile value of the given dataset.
|
double |
compute(int... dataset)
Computes the quantile value of the given dataset.
|
double |
compute(long... dataset)
Computes the quantile value of the given dataset.
|
double |
computeInPlace(double... dataset)
Computes the quantile value of the given dataset, performing the computation in-place.
|
public double compute(Collection<? extends Number> dataset)
dataset
- the dataset to do the calculation on, which must be non-empty, which will be
cast to doubles (with any associated lost of precision), and which will not be mutated by
this call (it is copied instead)public double compute(double... dataset)
dataset
- the dataset to do the calculation on, which must be non-empty, which will not
be mutated by this call (it is copied instead)public double compute(long... dataset)
dataset
- the dataset to do the calculation on, which must be non-empty, which will be
cast to doubles (with any associated lost of precision), and which will not be mutated by
this call (it is copied instead)public double compute(int... dataset)
dataset
- the dataset to do the calculation on, which must be non-empty, which will be
cast to doubles, and which will not be mutated by this call (it is copied instead)public double computeInPlace(double... dataset)
dataset
- the dataset to do the calculation on, which must be non-empty, and which will
be arbitrarily reordered by this method callCopyright © 2010-2016. All Rights Reserved.