public final class DoublesSortedViewIterator extends SortedViewIterator
cumWeights, index, totalN| Constructor and Description |
|---|
DoublesSortedViewIterator(double[] quantiles,
long[] cumWeights)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getQuantile()
Gets the quantile at the current index.
|
getN, getNaturalRank, getNaturalRank, getNormalizedRank, getNormalizedRank, getWeight, nextpublic DoublesSortedViewIterator(double[] quantiles,
long[] cumWeights)
quantiles - the given array of quantiles, which must be ordered.cumWeights - the given array of cumulative weights, which must be ordered, start with the value one, and
the last value must be equal to N, the total number of items updated to the sketch.Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.