powered by
Clip \(x\) to the interval \([l, u]\). This is useful to enforce box constraints.
inbounds(x, l, u)
l if x < l, u if x > u else x.
Value to clip.
Lower limit.
Upper limit.
Olaf Mersmann olafm@statistik.tu-dortmund.de