get_step_majorizer function

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