jax.scipy.special.beta

Contents

jax.scipy.special.beta#

jax.scipy.special.beta(x, y)[source]#

The beta function

JAX implementation of scipy.special.beta.

\[\mathrm{beta}(a, b) = B(a, b) = \frac{\Gamma(a)\Gamma(b)}{\Gamma(a + b)}\]

where \(\Gamma\) is the gamma() function.

Parameters:
  • a – arraylike, real-valued. Parameter a of the beta distribution.

  • b – arraylike, real-valued. Parameter b of the beta distribution.

  • x (jax.typing.ArrayLike)

  • y (jax.typing.ArrayLike)

Returns:

array containing the values of the beta function.

Return type:

Array