| Author |
Comment/Response |
Bill Simpson
|
09/09/12 11:02pm
This is not as powerful as using assumptions, but can you get what you need with this
In[1]:= cov=(ea+ex)(ea+ey);
Expand[cov]/.ex*ey->0
Out[2]= ea^2 + ea*ex + ea*ey
That uses pattern matching to replace ea*ey with zero everywhere it appears exactly like that.
URL: , |
|