Functions – Computationally Simple Sigmoid

functions

I'm looking for the analytic expression of a computationally cheap sigmoid that passes through the points (0, 1) and (1, 0). Thoughts?

Best Answer

An extremely cheap option is the cubic spline with zero derivatives at both endpoints: $$f(x)=1-3x^2+2x^3.$$ enter image description here