Sigmoid-like functions for clamping and non-linear interpolation of values in [0, 1] range.
Hermite polynomial, analogous to GLSL smoothstep. e0 and e1 define lower and upper edges of Hermite function.
Rational sigmoid that becomes linear at k=0 and discrete at k=1. Allows varying between linear and nearest-neighbour interpolation.
See Source File
Boost License 1.0.
Timur Gafarov 2018-2021.
Timur Gafarov
Sigmoid-like functions for clamping and non-linear interpolation of values in [0, 1] range.