bool QuantisedFunction::isMonotonous(bool strictly) const { return isIncreasing(strictly) || isDecreasing(strictly); }
bool isStrictlyMonotone(const std::vector<T> &v) { return isDecreasing(v) || isIncreasing(v); }
bool QuantisedFunction::isMonotonous(bool strictly) const { return isIncreasing(strictly) || isDecreasing(strictly); }
bool isStrictlyMonotone(const std::vector<T> &v) { return isDecreasing(v) || isIncreasing(v); }