Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculating 1F1 #1773

Open
maitra opened this issue Feb 9, 2024 · 7 comments
Open

calculating 1F1 #1773

maitra opened this issue Feb 9, 2024 · 7 comments

Comments

@maitra
Copy link

maitra commented Feb 9, 2024

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

@albinahlback
Copy link
Collaborator

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.

@fredrik-johansson
Copy link
Collaborator

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

@maitra
Copy link
Author

maitra commented Feb 9, 2024

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 maitra closed this as completed Feb 9, 2024
@maitra
Copy link
Author

maitra commented Feb 17, 2024

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 maitra reopened this Feb 17, 2024
@albinahlback
Copy link
Collaborator

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

@maitra
Copy link
Author

maitra commented Feb 17, 2024

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.

@albinahlback
Copy link
Collaborator

Ping @fredrik-johansson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants