EXP_switch INDEX

EXP _ _ _ _ _ _ _ _ _ _ _ _ switch

When the exp switch is on, powers and products of expressions are expanded. Default is on.

examples:


(x+1)**3; 

   3      2
  X  + 3*X  + 3*X + 1 


(a + b*i)*(c + d*i); 

  A*C + A*D*I + B*C*I - B*D 


off exp; 

(x+1)**3; 

         3
  (X + 1)  


(a + b*i)*(c + d*i); 

  (A + B*I)*(C + D*I) 


length((x+1)**2/(y+1)); 

  2

Note that REDUCE knows that i^2 = -1. When exp is off, equivalent expressions may not simplify to the same form, although zero expressions still simplify to zero. Several operators that expect a polynomial argument behave differently when exp is off, such as length. Be cautious about leaving exp off.