Arithmetic/Complex: Difference between revisions

Content deleted Content added
Line 686: Line 686:


> (/ #c(0 2))
> (/ #c(0 2))
#C(0 -1/2)</lang>
#C(0 -1/2)

> (conjugate #c(1 1))
#C(1 -1)</lang>


Complex numbers can be constructed from real and imaginary parts using the <tt>complex</tt> function, and taken apart using the <tt>realpart</tt> and <tt>imagpart</tt> functions.
Complex numbers can be constructed from real and imaginary parts using the <tt>complex</tt> function, and taken apart using the <tt>realpart</tt> and <tt>imagpart</tt> functions.