-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
DOC: special.riccati_yn
: highlight sign convention
#21603
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
Conversation
scipy/special/_basic.py
Outdated
y_n(x)`, where :math:`y_n` is the spherical Bessel function of the second | ||
kind of order :math:`n`. | ||
kind of order :math:`n`. _Note that this is in contrast to a common convention | ||
that includes a minus sign in the definition._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I guess I was mixing up with markdown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Thanks @tylerjereddy. Fixed.
[docs only]
special.riccati_yn
: highlight sign convention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks Matt!
Reference issue
Closes gh-12895
Closes gh-17920
What does this implement/fix?
gh-12895 requests that the sign convention for$xy_n(x)$ to $-xy_n(x)$ . Both conventions are valid, and SciPy's convention can be found in reputable references including Abramowitz and Stegun and DLMF (#12895 (comment)), so I don't think we would change it now to please some and disrupt others. This PR modifies the documentation to highlight the convention used by SciPy.
special.riccati_yn
be changed from