Function rationalSmoothstep
Rational sigmoid that becomes linear at k=0 and discrete at k=1. Allows varying between linear and nearest-neighbour interpolation.
T rationalSmoothstep(T)
(
T x,
float k
);
Rational sigmoid that becomes linear at k=0 and discrete at k=1. Allows varying between linear and nearest-neighbour interpolation.
T rationalSmoothstep(T)
(
T x,
float k
);