jax.scipy.stats.uniform.logpdf#
- jax.scipy.stats.uniform.logpdf(x, loc=0, scale=1)[source]#
Uniform log probability distribution function.
JAX implementation of
scipy.stats.uniform
logpdf
.The uniform distribution pdf is given by
\[\begin{split}f(x) = \begin{cases} 1 & 0 \le x \le 1 \\ 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: