|
From: Stavros M. (Σ. Μ. <mac...@al...> - 2016-11-03 14:25:09
|
Please reply to the list; different people have different areas of
expertise. For example, I know nothing about wxMaxima.
tex() (and for that matter string()) do respect exptdispflag, so the
necessary hooks are there.
-s
On Wed, Nov 2, 2016 at 8:05 AM, Graeme Paterson <gp...@ms...> wrote:
> On 11/1/2016 1:38 PM, Stavros Macrakis (Σταῦρος Μακράκης) wrote:
> > Does exptdispflag:false do what you want?:
> >
> > (%i1) exptdispflag:false$
> >
> > (%i2) (x+1)/(x-1);
> >
> > - 1
> > (%o2) (x - 1) (x + 1)
> >
> > (%i3) (x+1)+1/(x+2);
> >
> > - 1
> > (%o3) (x + 2) + x + 1
>
> I'm using wxMaxima
>
> z2s: 2/T*(1-z^-1)/(1+z^-1)$
> z2p2:facsum(subst(z2s, s, (s^2+a*s+b)/(s^2+c*s+d)),z)$
> [(s^2+a*s+b)/(s^2+c*s+d),z2p2, "divide by z^2"];
>
> would prefer something like
> ( b*T^2+2*a*T+4 + 2*(b*T^2-4)*z^-1 + (
> b*T^2-2*a*T+4)*z^-2)/(d*T^2+2*c*T+4 + 2*z*(d*T^2-4)*z^-1 +
> (d*T^2-2*c*T+4)*z^-2);
>
|