Piecewise constant (step) majorizer for K-Lipschitz functions over an interval (vectorized over the breaks argument).
breaks
Useful links