Clip value to a given range
Clip x to the interval [l, u]. This is useful to enforce box constraints.
inbounds(x, l, u)
x |
Value to clip. |
l |
Lower limit. |
u |
Upper limit. |
l if x < l, u if x > u else x.
Olaf Mersmann olafm@statistik.tu-dortmund.de
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.