#2765 powerseries of a derivative

None
closed
nobody
None
5
2014-07-29
2014-06-23
No

Powerseries applied to a derivative expression is broken:

(%i17) powerseries(diff(f(x),x,p),x,0);
Maxima encountered a Lisp error:
Error in MACSYMA-TOP-LEVEL [or a callee]: $P is not of type NUMBER.

(%i18) powerseries(diff(f(x),x,2),x,0);
(%o18) sum(((i8-1)i8x^(i8-2)sum((x^i8(at('diff((at('diff(f(x),x,i8),x=0)),x,i8),x=0)))/i8!,i8,0,inf))/i8!+(i8x^(i8-1)sum((i8x^(i8-1)(at('diff((at('diff(f(x),x,i8),x=0)),x,i8),x=0)))/i8!,i8,0,inf))/i8!,i8,0,inf)

Discussion

  • Rupert Swarbrick

    • status: open --> closed
     
  • Rupert Swarbrick

    This was just because SP2DIFF didn't check whether the derivative order was an integer. Fixed in [a2b80c].

     

    Related

    Commit: [a2b80c]


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks