public static final class Quantiles.Scale extends Object
Modifier and Type | Method and Description |
---|---|
Quantiles.ScaleAndIndex |
index(int index)
Specifies a single quantile index to be calculated, i.e.
|
Quantiles.ScaleAndIndexes |
indexes(Collection<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 calledIllegalArgumentException
- if indexes
is emptypublic Quantiles.ScaleAndIndexes indexes(Collection<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 calledIllegalArgumentException
- if indexes
is emptyCopyright © 2010–2020. All rights reserved.