[Numpy-discussion] Suggestions for GSoC Projects
pav at iki.fi
Sun Feb 23 08:58:03 EST 2014
23.02.2014 15:18, Jennifer stone kirjoitti:
> I tried the same input in mpmath to check if it works there:
> which is the solution when we apply power series expansion.
Typically, you need to tell mpmath to use an appropriate precision for
>>> mpmath.mp.dps = 300
> however MATLAB succeeds in giving the required solution.
> Another interesting fact is that of the methods mentioned in the thesis:
> Taylor series expansion, fraction method with double precision,
> Gauss-Jacobi method and RK4), none succeeds in the given case.
> I don't have any idea how the function itself is evaluated in the given
> case. Any leads on how it is done and how MATLAB executes it?
You can look in their documentation what references the implementation
is based on. However, it's not a good idea to go beyond that in
wondering how it does things --- from legal POV and from fair play.
What can help in hyp2f1 for large values of a,b,c is use of recurrence
relations. These are typically stable in one direction only.  This
seems to be still a partially open research question...
Our current hyp2f1 implementation does use recurrences (hyp2f1ra), but
perhaps they are not invoked for this case. The problem here can be the
accurate determination of the convergence region for each parameter value.
More information about the NumPy-Discussion