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

Improve erf function for complex values #278

Open
axkr opened this issue Oct 9, 2023 · 0 comments
Open

Improve erf function for complex values #278

axkr opened this issue Oct 9, 2023 · 0 comments
Labels

Comments

@axkr
Copy link
Contributor

axkr commented Oct 9, 2023

This call:

    System.out.println(org.hipparchus.special.Erf.erf(new Complex(1.0, 1.5)));

prints out:
(NaN, NaN)

but should print
(1.8468330146085414,-0.7013604642514801)

See wolframalpha:

@Serrof Serrof added the bug label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants