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

Use Chebyshev's method to calculate cosines #15

Merged
merged 1 commit into from
May 3, 2016
Merged

Use Chebyshev's method to calculate cosines #15

merged 1 commit into from
May 3, 2016

Conversation

mourner
Copy link
Member

@mourner mourner commented May 3, 2016

Using recursive Chebyshev’s method for calculating cosines of multiples, we can reduce the number of cos calls in the ruler constructor to just one — a 5x speedup.

Reduces the constructor to just one `cos` call instead of 5 — a 5x
speedup for ruler constructor.
@mourner mourner merged commit 1fd6bca into master May 3, 2016
@mourner mourner deleted the chebyshev branch May 3, 2016 11:55
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

1 participant