jax.scipy.special.hyp2f1#

jax.scipy.special.hyp2f1(a, b, c, x)[source]#

The 2F1 hypergeometric function.

JAX implementation of scipy.special.hyp2f1.

\[\mathrm{hyp2f1}(a, b, c, x) = {}_2F_1(a; b; c; x) = \sum_{k=0}^\infty \frac{(a)_k(b)_k}{(c)_k}\frac{x^k}{k!}\]

where \((\cdot)_k\) is the Pochammer symbol.

The JAX version only accepts positive and real inputs. Values of a, b, c, and x leading to high values of 2F1 may lead to erroneous results; consider enabling double precision in this case.

Parameters:
  • a (ArrayLike) – arraylike, real-valued

  • b (ArrayLike) – arraylike, real-valued

  • c (ArrayLike) – arraylike, real-valued

  • x (ArrayLike) – arraylike, real-valued

Returns:

array of 2F1 values.

Return type:

Array