-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up
CyclotomicPolynomial
substantially (#5707)
This function was implemented very inefficiently. The new code uses a much better (and well known) recursion. The caching should only be done for odd non-prime and squarefree arguments. To test the speedup try: CyclotomicPol(66150); or (difficult case): Minimum(CyclotomicPol(2*3*5*7*11*13*17));
- Loading branch information
1 parent
59190ce
commit c1b6cf0
Showing
1 changed file
with
94 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters