Scalar clipping
= Scalar clipping
{title2=$g(x)=\min(b,\max(a,x))$}
= Clipping of a scalar
{synonym}
The <continuous map> projecting a real number onto the <closed interval> $[a,b]$, with $a\le b$. It equals $a$ below the interval, equals the input inside it, and equals $b$ above it. It is nondecreasing and has <Lipschitz constant> one.