x =
clip (x)
¶x =
clip (x, hi)
¶x =
clip (x, [lo, hi])
¶Clip x values outside the range.to the value at the boundary of the range.
Range boundaries, lo and hi, default to 0 and 1 respectively.
x = clip (x) Clip to range [0, 1]
x = clip (x, hi) Clip to range [0, hi]
x = clip (x, [lo, hi]) Clip to range [lo, hi]
Package: miscellaneous