Function ADS::pforDeltaWidth
Defined in File IntegerCodes.h
Function Documentation
-
inline int ADS::pforDeltaWidth(const std::vector<std::uint64_t> &x, std::uint64_t base, double f = 0.9)
the smallest b whose range [ base , base + 2^b - 2 ] holds at least the fraction f of the values (all of them if f = 1)
- Pre:
0 < f <= 1