AdvancedMathHypergeometric2F1 Method |
Namespace: Meta.Numerics.Functions
The Gauss Hypergeometric function is defined by the hypergeometric series:
For generic values of a, b, and c, the Gauss hypergeometric function becomes complex for x > 1. However, there are specific cases, most commonly for negative integer values of a and b, for which the function remains real in this range.
For some arguments, the value of the function depends on the order in which the arguments are regarded as approaching their values. For example, in general, if x = 0, F = 1. On the other hand, in general, if c = -1, F is infinite. If x = 0 and c = -1, the value depends on which limit is taken first.
Our implementation does not achieve full precision in all parameter regions. For |x| < 1/2 and |a|, |b| < 10, we achieve approximately full precision. For |x| > 1/2, we loose about one decimal digit of precision, and for every order of magnitude that |a| or |b| exceeds 10, we loose about one decimal digit of precision.