taylor() and pade()
imakn634 opened this issue · 2 comments
In Maxima-Jupyter, the pade() does not work:
taylor (1 + x + x^2 + x^3, x, 0, 3);
pade (%, 1, 1);
pade: first argument must be a Taylor series; ...
This is because taylor() in Maxima-Jupyter does not return /T/ expression.
Any help?
Is there any tip to return /T/ expression?
Hmm, I guess maxima-jupyter is converting %
to an ordinary, non-Taylor, form for display. I find a workaround is to assign the result to a named variable, e.g. foo: taylor(...)
and then pade(foo, 1, 1)
.
Not sure what to do about the problem in general. Aside from Taylor, there are rational function representations which are displayed with /R/. I guess the problem is that there is a display form which is different, but at present there isn't a way to distinguish them.
Thank you for quick reply! Surely,
pade (taylor (1 + x + x^2 + x^3, x, 0, 3), 1, 1) works.
Maxima on terminal returns:
(%i1) taylor (1 + x + x^2 + x^3, x, 0, 3);
2 3
(%o1)/T/ 1 + x + x + x + . . .
It woud be nicer if Maxima-Jupyter returns the same form...