pypomp.maths.expit¶
- pypomp.maths.expit(x: Array | ndarray | bool | number | bool | int | float | complex) Array[source]¶
The logistic sigmoid (expit) function
JAX implementation of
scipy.special.expit.\[\mathrm{expit}(x) = \frac{1}{1 + e^{-x}}\]- Parameters:
x – arraylike, real-valued.
- Returns:
array containing values of the expit function.