Rev Language Reference


sigmoid

Usage

sigmoid(Real x, RealPos min, RealPos max, Real mid, Real slope)

Arguments

x : Real (pass by const reference)
The value.
min : RealPos (pass by const reference)
The minimum value of the sigmoid function.
max : RealPos (pass by const reference)
The maximum value of the sigmoid function.
mid : Real (pass by const reference)
The middle of the sigmoid function.
slope : Real (pass by const reference)
The slope of the sigmoid function.

Return Type