#4151: [with patch, with positive review] implementation of Dickman's function
---------------------------+------------------------------------------------
Reporter: robertwb | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.1.3
Component: number theory | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Changes (by davidloeffler):
* summary: [with patch, needs review] implementation of Dickman's
function => [with patch, with positive review]
implementation of Dickman's function
Comment:
That looks nice; I'm no expert on how the symbolics interface is supposed
to work but the dickman_rho function now seems to behave a lot like the
exp function, which is presumably a good guide, and you can do things like
{{{
sage:((dickman_rho(x) - 0.0001).find_root(0,10)
5.4478836002803135
}}}
which is nice.
The only problem I can see is that dickman_rho.approximate(1) returns a
ZeroDivisionError, and dickman_rho.approximate(0.9) returns NaN. But I
can't imagine any user being especially upset by this, as the docstring
makes it clear that it's to be used for large values only.
I'd be happy to see this merged.
David
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4151#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---