Module clip

Module clip 

Source
Expand description

Clip function that returns a given value if it is inside of the interval [0,2k] and clips values outside this interval to its edges.

Structsยง

Clip2K
A structure that defines the custom operation Clip2K that computes elementwise the following clipping function: