Probably most of you know about how to generate s-curves, but here is some code I use to generate sigmoids:
I only have two kinds in the files, and there are several other types:
https://en.wikipedia.org/wiki/Sigmoid_function
They are very useful when you want something to do a lot when things get extreme and do very little when things are average.
They are computationally expensive because they tend to have calls to the exponential function, but you can easily generate a table and then it is just lookups.
s-curves
Moderators: hgm, Rebel, chrisw