The Maxima on-line user's manual

Algebra Calculator

Clear_rules

Function: clear_rules () Executes `kill (rules)` and then resets the next rule number to 1 for addition `+`, multiplication `*`, and exponentiation `^`.

```(%o1)                                true
(%i2) ```

Related Examples

clear_rules-cos-csc-kill-matchdeclare-sin-tellsimp-tellsimpafter-true

matchdeclare(a, true);

kill(x, a);

tellsimp(csc(x), 1/si...

Calculate

clear_rules-cos-csc-kill-sin-tellsimp

kill(x, a);

tellsimp(csc(x), 1/si...

tellsimp(sin(a)^2, 1 ...

Calculate

simp:false;

1/a, simp:false;

Calculate

? clear_rules;

Calculate

clear_rules-cos-csc-kill-sin-tellsimp

kill(x, a);

tellsimp(csc(x), 1/si...

tellsimp(sin(x)^2, 1 ...

Calculate

simp:false;

1/a, simp:false;

Calculate

clear_rules-cos-csc-kill-matchdeclare-sin-tellsimp-true

matchdeclare(a, true);

kill(x, a);

tellsimp(csc(x), 1/si...

Calculate

simp:false;

1/a, simp:false;

Calculate

clear_rules-cos-csc-kill-sin-tellsimp

kill(x, a);

tellsimp(sin(x)^2, 1 ...

1+sin(x)^2;

Calculate