Contents:
Computes a clamped hyperbolic tangent function between a and b.
a
b
T – The numeric type.
x – The input value.
a – The lower bound.
b – The upper bound.
The clamped hyperbolic tangent function output.