> To easily see the coefficients of each
> term in the taylor polynomial?
Yes, that would be the reason why in this case.
--Mike
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
On Feb 2, 2008 11:07 PM, Mike Hansen <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Here is an example of the underlying problem
>
> sage: a = -x/(2*x-4)
> sage: e = lambda e: taylor(e,x,3,4)
> sage: e(a)
> -3/2 + x - 3 - (x - 3)^2 + (x - 3)^3 - (x - 3)^4
> sage: type(_)
>
> sage: b = e(a)._maxima_();
Hello,
Here is an example of the underlying problem
sage: a = -x/(2*x-4)
sage: e = lambda e: taylor(e,x,3,4)
sage: e(a)
-3/2 + x - 3 - (x - 3)^2 + (x - 3)^3 - (x - 3)^4
sage: type(_)
sage: b = e(a)._maxima_(); b
x-(x-3)^4+(x-3)^3-(x-3)^2-9/2
What happens is that is able to construct a Symbolic
On Feb 1, 8:59 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Jan 31, 2008 7:59 AM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Jan 31, 12:29 am, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > > On Jan 30, 2008 3:48 PM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
> > > > I would like to
On Jan 31, 2008 7:59 AM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jan 31, 12:29 am, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > On Jan 30, 2008 3:48 PM, pgdoyle <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > I would like to take the Taylor series of a matrix. But I find I
> > > ca
On Jan 31, 8:05 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
> You could try substituting x+1 for x first, then do what you want, and
> substitute back at the end,
> I would expect the auto-simplification to happen at that last step
> too, but you would be able to (say) replace x by (x-1) in th
You could try substituting x+1 for x first, then do what you want, and
substitute back at the end,
I would expect the auto-simplification to happen at that last step
too, but you would be able to (say) replace x by (x-1) in the textual
output. I wonder if it is possible to have a variable whose n
On Jan 31, 12:29 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Jan 30, 2008 3:48 PM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I would like to take the Taylor series of a matrix. But I find I
> > can't even put a Taylor polynomial into a matrix without its being
> > simplified.
>
>
On Jan 30, 2008 3:48 PM, pgdoyle <[EMAIL PROTECTED]> wrote:
>
> I would like to take the Taylor series of a matrix. But I find I
> can't even put a Taylor polynomial into a matrix without its being
> simplified.
>
> sage: f=-x/(2*x-4); f
> -x/(2*x - 4)
> sage: g=taylor(f,x,1,1); g
> 1/2 + x - 1
>