Contents:
Computes a clamped sigmoid 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 sigmoid function output.