Special Math Functions_clip

Netica

                

clip

(function for equations)

 

Usage:

clip (min, max, x)

Definition:

(x < min) ? min : (x > max) ? max : x

Required:

min £ max

Returns x, unless it is less than min (in which case it returns min), or more than max (in which case it returns max).

See also max, min, and rect.