#10784: primes can have better functionality.
-----------------------------+----------------------------------------------
Reporter: mderickx | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: number theory | Keywords: prime, iterator, beginner
Author: D. S. McNeil | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by newvalueoldvalue):
* cc: niles (added)
* keywords: => prime, iterator, beginner
* status: new => needs_review
* author: => D. S. McNeil
Old description:
> In this topic:
> http://groups.google.com/group/sage-
> devel/browse_thread/thread/cd05585cf395b3a0/c7c82fbb725dee50
>
> D.S. McNeil posted several ideas for enhancing sage. This ticket is for
> the enhancements proposed for the primes function.
>
> {{{
> (3) primes(10, infinity) should work.
> Since we're just calling next_prime, there's no reason to require the
> upper limit to be an integer.
> Wouldn't mind a proof=False option which calls next_probable_prime
> instead, either.
> }}}
New description:
In this topic: http://groups.google.com/group/sage-
devel/browse_thread/thread/cd05585cf395b3a0/c7c82fbb725dee50
D.S. !McNeil posted several ideas for enhancing sage. This ticket is for
the enhancements proposed for the primes function.
{{{
(3) primes(10, infinity) should work.
Since we're just calling next_prime, there's no reason to require the
upper limit to be an integer.
Wouldn't mind a proof=False option which calls next_probable_prime
instead, either.
}}}
--
Comment:
Looks really good -- I've marked it as 'beginner', meaning that this is a
patch which someone who is just beginning could review. If no one beats
me to it, I'll go ahead and review it :)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10784#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.