On Jan 15, 6:14 am, Craig Citro <craigci...@gmail.com> wrote: > Yeah, this is wacky. I can tell you why it's happening, though someone > who's ever used Maxima before should really think about the right fix. > Here's the issue: in sage.calculus.calculus, there's an instance of > Maxima that gets created and passed the argument 'load(simplify_sum)'. > This causes the expression 'd2' to get simplified to > (3*n+k-1)!/(6*n+2*k)!. Here's a sample session illustrating the issue: > > sage: maxima("d2") > d2 > sage: sage.calculus.calculus.maxima("d2") > (3*n+k-1)!/(6*n+2*k)! > sage: Maxima(init_code=['load(simplify_sum)', 'display2d:false'])("d2") > (3*n+k-1)!/(6*n+2*k)! > > Maybe someone who knows Maxima better could point us in the right direction?
d2 is defined in the testsuite for the Zeilberger algorithm. It is not necessary to load the tests, in share/contrib/Zeilberger/ zeilberger.mac remove the last line which loads them. Andrej
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org