Template Function otyca::inverse_tanh_clamp
Function Documentation
-
template<typename T>
T otyca::inverse_tanh_clamp(T y, T a, T b) Computes the inverse of the clamped hyperbolic tangent function.
- Template Parameters:
T – The numeric type.
- Parameters:
y – The output value.
a – The lower bound.
b – The upper bound.
- Returns:
The corresponding input value before applying tanh clamping.