Rounds input `X` up to the first threshold `T0`, `T1`, ..., `Tš` greater or equal to the `X`. If `X` is even greater than the last threshold, the value is round down to it.
discretize
@/discretize
Rounds input `X` up to the first threshold `T0`, `T1`, ..., `Tš` greater or equal to the `X`. If `X` is even greater than the last threshold, the value is round down to it.