g_clamp.Rd
Clamp values to a closed range, elementwise.
g_clamp(x, lo, hi)
Traced array or plain numeric.
Range bounds (scalars).
Same shape as x.
x