JuliaMath / HypergeometricFunctions.jl

A Julia package for calculating hypergeometric functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Kummer's transformations

rashidrafeek opened this issue · comments

julia> HypergeometricFunctions.M(0.5, 1.5, -1000)
NaN

This works correctly in scipy:

from scipy.special import hyp1f1

hyp1f1(0.5, 1.5, -1000)
0.02802495608198965

This used to not work in scipy too (scipy/scipy#2282) but was fixed in scipy/scipy#3022.

Thanks! It seems to me that the issue is solved by implementing https://dlmf.nist.gov/13.7#E2, equivalently https://dlmf.nist.gov/13.2#E41 and https://dlmf.nist.gov/13.2#E42