The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_math1
Class: None
Declaration: function Squash (x: double; offset, slope, amplitude: double): double;

The function Squash calculates the sigmoid function at the argument x. The parameter slope determines the slope of the function in the inflection point, the parameter ampl the amplitude of the function, and the parameter offset controls the offset in x direction.

The following figure shows the generated radius basis function using the following parameters:

Slope = 0.30
XOffset = 100
Ampl = 6.0

Last Update: 2019-Mar-08