Function ADS::dGaps
Defined in File IntegerCodes.h
Function Documentation
-
inline std::vector<std::uint64_t> ADS::dGaps(const std::vector<std::uint64_t> &x)
the d-gaps of a non-decreasing sequence: the first item, then the differences between consecutive items
- Pre:
x is non-decreasing