complex
The complex number a + bi. Exact when a and b are.
a(number) -- real partb(number) -- imaginary part
The complex number a + bi. Exact when a and b are.
a (number) -- real partb (number) -- imaginary partThe complex number with modulus r and argument theta (radians).
r (number) -- theta (number) -- radiansThe real part of a complex number (also z.re).
z (complex) -- The imaginary part of a complex number (also z.im).
z (complex) -- The complex conjugate a - bi. Also the conjugate of a quaternion.
z (complex) -- |z| = sqrt(a^2 + b^2), exact (a surd when irrational).
z (complex) -- |z|^2 = a^2 + b^2, exact.
z (complex) -- The argument (angle) of z in radians, in (-pi, pi].
z (complex) -- The modulus r and argument theta of z, as a record (z.r, z.theta).
z (complex) -- True if the imaginary part is zero.
z (complex) -- True if the real part is zero.
z (complex) -- The product of two complex numbers (a plain number counts as complex). Also the product of two quaternions (not commutative: ij = k, ji = -k).
z (complex) -- w (complex) -- The quotient z / w of two complex numbers.
z (complex) -- w (complex) -- e^z for a complex z.
z (complex) -- The principal natural logarithm of a complex z.
z (complex) -- The principal square root of a complex z (also of a negative number).
z (complex) -- z^n for a whole-number n, exact when z is.
z (complex) -- n (integer) -- All n n-th roots of z, as a list.
z (complex) -- n (integer) --