<A NAME=CLEARRULES>
<TITLE>CLEARRULES</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>CLEARRULES</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>command</B><P>
<P>
<P>
<P>
<P> <H3>
syntax: </H3>
<em>clearrules</em><list>{,<list>}+
<P>
<P>
<P>
The operator <em>clearrules</em> is used to remove previously defined
<A HREF=r37_0060.html>rule</A> lists from the system. <list> can be an exp
licit rule
list, or evaluate to a rule list.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
trig1 := {cos(~x)*cos(~y) => (cos(x+y)+cos(x-y))/2,
cos(~x)*sin(~y) => (sin(x+y)-sin(x-y))/2,
sin(~x)*sin(~y) => (cos(x-y)-cos(x+y))/2,
cos(~x)^2 => (1+cos(2*x))/2,
sin(~x)^2 => (1-cos(2*x))/2}$
let trig1;
cos(a)*cos(b);
COS(A - B) + COS(A + B)
-----------------------
2
clearrules trig1;
cos(a)*cos(b);
COS(A)*COS(B)
</TT></PRE><P>