jax.scipy.special.ndtr#
- jax.scipy.special.ndtr(x)[源代码][源代码]#
正态分布函数。
JAX implementation of
scipy.special.ndtr
.返回高斯概率密度函数从负无穷大到 x 的积分面积:
\[\begin{split}\begin{align} \mathrm{ndtr}(x) =& \ \frac{1}{\sqrt{2 \pi}}\int_{-\infty}^{x} e^{-\frac{1}{2}t^2} dt \\ =&\ \frac{1}{2} (1 + \mathrm{erf}(\frac{x}{\sqrt{2}})) \\ =&\ \frac{1}{2} \mathrm{erfc}(\frac{x}{\sqrt{2}}) \end{align}\end{split}\]