View source on GitHub |
Compute the Hypergeometric function 2f1(a, b, c, z) when |z| <= 1.
tfp.math.hypergeometric.hyp2f1_small_argument(
a, b, c, z, name=None
)
Given a, b, c
and z
, compute Gauss' Hypergeometric Function, specified
by the series:
1 + (a * b/c) * z + (a * (a + 1) * b * (b + 1) / ((c * (c + 1)) * z**2 / 2 +
... (a)_n * (b)_n / (c)_n * z ** n / n! + ....
Returns | |
---|---|
hypergeo
|
2F1(a, b, c, z)
|
References
[1] F. Johansson. Computing hypergeometric functions rigorously. ACM Transactions on Mathematical Software, August 2019. https://arxiv.org/abs/1606.06977 [2] J. Pearson, S. Olver, M. Porter. Numerical methods for the computation of the confluent and Gauss hypergeometric functions. Numerical Algorithms, August 2016. [3] M. Abramowitz, I. Stegun. Handbook of Mathematical Functions with Formulas, Graphs and Mathematical Tables.