jax.scipy.stats.expon.logpdf

Contents

jax.scipy.stats.expon.logpdf#

jax.scipy.stats.expon.logpdf(x, loc=0, scale=1)[source]#

Exponential log probability distribution function.

JAX implementation of scipy.stats.expon logpdf.

The Exponential probability distribution function is

\[\begin{split}f(x) = \begin{cases} e^{-x} & x \ge 0 \\ 0 & \mathrm{otherwise} \end{cases}\end{split}\]
Parameters:
Returns:

array of logpdf values.

Return type:

Array