jax.scipy.special.beta#

jax.scipy.special.beta(a, b)[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) – arraylike, real-valued. Parameter a of the beta distribution.

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

Returns:

array containing the values of the beta function.

Return type:

Array