discretize

xod/math/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.
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.
Xnumber
T0number
T1numberĀ (variadic)
discretize
XXT0T0T1T1ā€¦TT
Tnumber
The rounding result. Equals to one of Tx.