jax.scipy.stats.laplace.logpdf#
- jax.scipy.stats.laplace.logpdf(x, loc=0, scale=1)[source]#
Laplace log probability distribution function.
JAX implementation of
scipy.stats.laplace
logpdf
.The Laplace probability distribution function is given by
\[f(x) = \frac{1}{2} e^{-|x|}\]- 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: