public static final class Quantiles.Scale
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
scale |
| Modifier | Constructor and Description |
|---|---|
private |
Scale(int scale) |
| Modifier and Type | Method and Description |
|---|---|
Quantiles.ScaleAndIndex |
index(int index)
Specifies a single quantile index to be calculated, i.e.
|
Quantiles.ScaleAndIndexes |
indexes(java.util.Collection<java.lang.Integer> indexes)
Specifies multiple quantile indexes to be calculated, each index being the k in the kth
q-quantile.
|
Quantiles.ScaleAndIndexes |
indexes(int... indexes)
Specifies multiple quantile indexes to be calculated, each index being the k in the kth
q-quantile.
|
public Quantiles.ScaleAndIndex index(int index)
index - the quantile index, which must be in the inclusive range [0, q] for q-quantilespublic Quantiles.ScaleAndIndexes indexes(int... indexes)
indexes - the quantile indexes, each of which must be in the inclusive range [0, q] for
q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the
set will be snapshotted when this method is calledjava.lang.IllegalArgumentException - if indexes is emptypublic Quantiles.ScaleAndIndexes indexes(java.util.Collection<java.lang.Integer> indexes)
indexes - the quantile indexes, each of which must be in the inclusive range [0, q] for
q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the
set will be snapshotted when this method is calledjava.lang.IllegalArgumentException - if indexes is empty