clip

emlib.mathlib.clip(x, minvalue, maxvalue)[source]

clip the value of x between minvalue and maxvalue

Return type:

TypeVar(T, float, Fraction)