#17730: Use Pari for is_cyclotomic()
-------------------------------------+-------------------------------------
       Reporter:  bruno              |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  number theory      |   Resolution:
       Keywords:  cyclotomic         |    Merged in:
  polynomial                         |    Reviewers:
        Authors:  Vincent Delecroix  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  146d1d0c8f4c50e013a75a143d8493d5c1bce1f0
  u/vdelecroix/17730                 |     Stopgaps:
   Dependencies:  #17631             |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 With the branch applied
 {{{
 sage: p = cyclotomic_polynomial(14)
 sage: timeit("p.is_cyclotomic(algorithm='sage')")
 625 loops, best of 3: 429 µs per loop
 sage: timeit("p.is_cyclotomic(algorithm='pari')")
 625 loops, best of 3: 29.3 µs per loop
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17730#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to