Searched refs:positionFloor (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithm.java | 61 int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); in singleQuantileFromSorted() local 62 int remainder = (int) (numerator - positionFloor * scale); in singleQuantileFromSorted() 64 return dataset[positionFloor]; in singleQuantileFromSorted() 67 return dataset[positionFloor] in singleQuantileFromSorted() 68 + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]); in singleQuantileFromSorted() 81 int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); in singleQuantile() local 82 int remainder = (int) (numerator - positionFloor * scale); in singleQuantile() 83 double percentileFloor = select(positionFloor, dataset); in singleQuantile() 87 double percentileCeiling = getMinValue(dataset, positionFloor + 1); in singleQuantile()
|
D | QuantilesTest.java | 513 int positionFloor = IntMath.divide(199 * index, 2, FLOOR); in expectedLargeDatasetPercentile() local 515 double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor); in expectedLargeDatasetPercentile()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithm.java | 61 int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); in singleQuantileFromSorted() local 62 int remainder = (int) (numerator - positionFloor * scale); in singleQuantileFromSorted() 64 return dataset[positionFloor]; in singleQuantileFromSorted() 67 return dataset[positionFloor] in singleQuantileFromSorted() 68 + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]); in singleQuantileFromSorted() 81 int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); in singleQuantile() local 82 int remainder = (int) (numerator - positionFloor * scale); in singleQuantile() 83 double percentileFloor = select(positionFloor, dataset); in singleQuantile() 87 double percentileCeiling = getMinValue(dataset, positionFloor + 1); in singleQuantile()
|
D | QuantilesTest.java | 513 int positionFloor = IntMath.divide(199 * index, 2, FLOOR); in expectedLargeDatasetPercentile() local 515 double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor); in expectedLargeDatasetPercentile()
|