>
> But convolutions are already implemented for functions in the Piecewise
> class. Is there a problem you were having with that?
>

The only convolution I found in the reference manual is for lists
only.  Can you link me to a reference that includes convolutions for
the Piecewise class?

For what it's worth, I tried this which seemed to work for plotting:

g1(y) = 1
g2(y) = 0
f = Piecewise([[(-oo,0),g2],[(0,1),g1],[(1,oo),g2]])
g = Piecewise([[(-oo,-1+x),g2],[(-1+x,x),g1],[(x,oo),g2]])
A=plot(point((1.5,1)))
for x in [0,.1,.2,.3,.4,.5,.6,.7,.8,.9]:
    A=A+plot(point((x,integral(f*g,y,0,1))));
show(A)

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to