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.|