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:
Returns:

array of logpdf values

Return type:

Array