flint icon indicating copy to clipboard operation
flint copied to clipboard

calculating 1F1

Open maitra opened this issue 1 year ago • 7 comments

Very new to the FLINT library and trying to understand where the function to call 1F1 is. Sorry about the naivette.

maitra avatar Feb 09 '24 13:02 maitra

No problem! I think it is under this section of the documentation. If you are only interested in the real-valued function, please see this part of the documentation instead.

albinahlback avatar Feb 09 '24 14:02 albinahlback

Adding to that, if you only care about machine-precision floats, there is a function here.

fredrik-johansson avatar Feb 09 '24 14:02 fredrik-johansson

Thank you very much, @albinahlback and @fredrik-johansson -- I was looking at the source code trying to figure this out. I now see that the real version calls the complex version. Thanks again for the library!

maitra avatar Feb 09 '24 15:02 maitra

No problem! I think it is under this section of the documentation. If you are only interested in the real-valued function, please see this part of the documentation instead.

From the above, I read that void arb_hypgeom_1f1_integration is recommended for large arguments, but a > 1 and b - a > 1 but I was wondering, what is recommended for large x and a > b > 1?

maitra avatar Feb 17 '24 16:02 maitra

Why just not use the function arb_hypgeom_1f1 (aka arb_hypgeom_m)? Is there a reason for using that specific algorithm?

albinahlback avatar Feb 17 '24 22:02 albinahlback

Why just not use the function arb_hypgeom_1f1 (aka arb_hypgeom_m)? Is there a reason for using that specific algorithm?

Oh, because x is large for me, therefore I was looking for some easy way to calculate or some approximation.

maitra avatar Feb 17 '24 22:02 maitra

Ping @fredrik-johansson

albinahlback avatar Feb 25 '24 23:02 albinahlback