Closed Mostafa86 closed 1 month ago
It does work if one sets the precision a bit higher.
It ought to work to work at this precision too, using the integration algorithm, but currently arb_hypgeom_2f1_integration
doesn't accept these particular parameters.
One way to fix it would be to express the incomplete beta function using a different 2F1 formula (https://functions.wolfram.com/GammaBetaErf/Beta3/26/01/ShowAll.html) depending on the parameters.
Or arb_hypgeom_2f1_integration
could try to implement a suitable fractional linear transformations. This fix would be more general.
results in
nan +/- +inf
Wolfram Alpha result