#10784: primes can have better functionality.
-----------------------------------+----------------------------------------
Reporter: mderickx | Owner: was
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.7
Component: number theory | Keywords: prime, iterator, beginner
Author: D. S. McNeil | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Description changed by jdemeyer:
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.
> }}}
>
> ----
>
> Apply attachment:trac_10784_primes_enhancements.patch and
> attachment:trac_10784-reviewer.patch
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.
}}}
----
Apply [attachment:trac_10784_primes_enhancements.patch] and
[attachment:trac_10784-reviewer.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10784#comment:7>
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.