COMPLEX INDEX

COMPLEX _ _ _ _ _ _ _ _ _ _ _ _ switch

When the complex switch is on, full complex arithmetic is used in simplification, function evaluation, and factorization. Default is off.

examples:



factorize(a**2 + b**2); 

     2     2
  {{A   + B ,1}} 


on complex; 


factorize(a**2 + b**2); 

  {{A + I*B,1},{A - I*B,1}} 



(x**2 + y**2)/(x + i*y); 

  X - I*Y 



on rounded; 

      *** Domain mode COMPLEX changed to COMPLEX_FLOAT 



sqrt(-17); 

  4.12310562562*I 



log(7*i); 

  1.94591014906 + 1.57079632679*I

Complex floating-point can be done by turning on rounded in addition to complex. With complex off however, REDUCE knows that i is the square root of -1 but will not carry out more complicated complex operations. If you want complex denominators cleared by multiplication by their conjugates, turn on the switch rationalize.