clipfunktiota
Clipfunktiota, also known as the clipping function or clamp function, is a mathematical function that restricts its input to a specified closed interval [a, b]. Formally, clip_{a,b}(x) = min(max(x, a), b). Equivalently: a if x < a; x if a <= x <= b; b if x > b.
Properties of the function include that it is monotone nondecreasing and 1-Lipschitz, meaning that it does
Generalizations and variants include vector clipping, where each component is clipped to its own interval: clip(x)_i
Applications are widespread in engineering and computing. They are used to prevent saturation in signal processing
Examples: clip_{0,1}(0.5) = 0.5; clip_{0,1}(-0.2) = 0; clip_{0,1}(1.5) = 1.