cpp/numeric/random/piecewise constant distribution/reset