#2578: [with patch, needs review] make bernoulli_polynomial independent of
maxima
----------------------+-----------------------------------------------------
Reporter: was | Owner: craigcitro
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.4.1
Component: calculus | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by craigcitro):
* owner: was => craigcitro
* status: new => assigned
* summary: bug in bernoulli_polynomial => [with patch, needs review]
make bernoulli_polynomial independent of maxima
Comment:
The attached patch rewrites `bernoulli_polynomial` to avoid Maxima
completely. This gives roughly a factor of 10 speedup.
Unfortunately, the originial request doesn't quite make sense --
`bernoulli_polynomial(x,n)` for `n` a symbolic variable would have to
return a polynomial of variable degree. As it stands, we don't have any
sort of "symbolic sum" to use for that kind of thing. I did add the
formula for the `n`th Bernoulli polynomial to the docstring, though.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2578#comment:4>
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
-~----------~----~----~----~------~----~------~--~---