rectform(erf(2.0*(1+%i))); => (erf(2.0*(%i+1))+erf(2.0*(1-%i)))/2-(erf(2.0*(1-%i))-erf(2.0*(%i+1)))/2
rather than
0.1272916294631408*%i+1.151310866398069
Maxima 5.45.1 SBCL 2.0.0 Windows 11
Diff:
--- old +++ new @@ -1,6 +1,10 @@ +~~~ rectform(erf(2.0*(1+%i))); => (erf(2.0*(%i+1))+erf(2.0*(1-%i)))/2-(erf(2.0*(1-%i))-erf(2.0*(%i+1)))/2 +~~~ rather than -0.1272916294631408*%i+1.151310866398069 +``0.1272916294631408*%i+1.151310866398069`` + +Maxima 5.45.1 SBCL 2.0.0 Windows 11
Notice that the following two commands work fine:
rectform(erf(expand(2.0*(1+%i)))); rectform(erf(2.0+%i*2.0));
Those work fine even without the rectform. That's the point -- rectform should be applied to the arguments of erf.
rectform
erf
Log in to post a comment.
Diff:
Notice that the following two commands work fine:
Those work fine even without the
rectform
.That's the point --
rectform
should be applied to the arguments oferf
.