Template Function crpropa::clip

Function Documentation

template<typename T>
T crpropa::clip(const T &x, const T &lower, const T &upper)