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

Disagreeing results between besselj and angerj #27

Open
jacksonvanover opened this issue Feb 6, 2020 · 0 comments
Open

Disagreeing results between besselj and angerj #27

jacksonvanover opened this issue Feb 6, 2020 · 0 comments

Comments

@jacksonvanover
Copy link

Though the two are supposed to be identical when their first argument is an integer, they begin to diverge from one another as their second argument increases in magnitude, demonstrated here with first argument zero though I tested with first argument of one as well and observed similar behavior:

besselj(0, 1) gives 0.7651976865579666
angerj(0,1) gives 0.7651976865579666

besselj(0, 10) gives -0.2459357644513912
angerj(0,10) gives -0.2459357644513481

besselj(0, 100) gives 0.01998585030422332
angerj(0,100) gives -0.04425859855968436

besselj(0, 1000) gives 0.024786686152420027
angerj(0,1000) gives 0.08136533156802234

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

1 participant