Artifact 620fa5f14ec0341912a0c65175900495c286d34e107fabd418a1933109b372c1:
- Executable file
r37/lisp/csl/html/r37_0274.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1201) [annotate] [blame] [check-ins using] [more...]
<A NAME=COMPLEX> <TITLE>COMPLEX</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>COMPLEX</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>switch</B><P> <P> <P> <P> When the <em>complex</em> switch is on, full complex arithmetic is used in simplification, function evaluation, and factorization. Default is <em>off</em>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> 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 </TT></PRE><P>Complex floating-point can be done by turning on <A HREF=r37_0330.html>rounded</A> in addition to <em>complex</em>. With <em>complex</em> 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 <A HREF=r37_0324.html>rationalize</A>. <P> <P> <P>