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:
x (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, value at which to evaluate the PDF
loc (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, distribution offset parameter
scale (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, distribution scale parameter
- Returns:
array of logpdf values.
- Return type:
See also