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

Better sinc docstring #51858

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Better sinc docstring #51858

merged 3 commits into from
Oct 26, 2023

Conversation

hyrodium
Copy link
Sponsor Contributor

@hyrodium hyrodium commented Oct 25, 2023

There are two types for the sinc function, unnormalized $\frac{\sin(x)}{x}$ and normalized $\frac{\sin(\pi x)}{\pi x}$. (https://en.wikipedia.org/wiki/Sinc_function)
This PR updates the docstring and clarify which of these definition is used.

Related: #36954 (comment), #51551

@aviatesk
Copy link
Sponsor Member

The CI failure is unrelated to this.

@KristofferC KristofferC merged commit 6900ee1 into JuliaLang:master Oct 26, 2023
5 of 7 checks passed
staticfloat pushed a commit that referenced this pull request Oct 27, 2023
There are two types for the `sinc` function, unnormalized
$\frac{\sin(x)}{x}$ and normalized $\frac{\sin(\pi x)}{\pi x}$.
(https://en.wikipedia.org/wiki/Sinc_function)
This PR updates the docstring and clarify which of these definition is
used.

Related:
#36954 (comment),
#51551
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

Successfully merging this pull request may close these issues.

None yet

3 participants