#16880: previous_prime, previous_prime_power, next_prime_power
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  number theory      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/16880                 |  b3cfd3cce04b352ee86b7b84c3880f0c5d5829e9
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):

 * milestone:  sage-6.6 => sage-6.7
 * dependencies:  #16878, #17852 =>


Old description:

> In this ticket we:
>  - introduce methods `previous_prime`, `next_prime_power`,
> `previous_prime_power` for integers
>  - split `prime_range` in `rings/fast_arith.pyx` into two subfunctions
> and optimize them
>  - create a faster cythonized `prime_power_range` and propose two
> implementations for `arith.prime_powers`
>  - add `rings/fast_arith.pyx` to the documentation

New description:

 In this ticket we add three methods to integers: `previous_prime` (calling
 pari `precprime`), `next_prime_power` and `previous_prime_power`. We also
 make changes in `sage.rings.arith` to call these (faster) methods.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16880#comment:16>
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