Function ADS::encodeInterpolative

Function Documentation

inline void ADS::encodeInterpolative(BitWriter &w, const std::vector<std::uint64_t> &x, std::uint64_t low, std::uint64_t hi)

the interpolative code of x, which low and hi bound

Pre:

x strictly increasing in [ low , hi ]