jax.scipy.special.beta

Contents

jax.scipy.special.beta#

jax.scipy.special.beta(a: ArrayLike, b: ArrayLike) Array[source]#
jax.scipy.special.beta(a: ArrayLike, *, y: ArrayLike) Array
jax.scipy.special.beta(*, x: ArrayLike, y: ArrayLike) Array

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.

Returns:

array containing the values of the beta function.