Complex Number Functions

Magnitude and Argument

Re(Z) Returns the real part of Z.

Im(Z) Returns the imaginary part of Z.

arg(z) Returns the principal argument of z, between −π and π, including π. The argument is the value of θ when z is written as |z|·e^i·θ.

Sign

csgn(z) Returns 0 if z = 0, 1 if Re(z) > 0 or (Re(z) = 0 and Im(z) > 0), −1 otherwise.

signum(z) Returns 1 if z = 0 and z/|z| otherwise.

sign(x) Returns 0 if x = 0, 1 if x > 0, and −1 otherwise.

Arguments:

Notes:

QuickSheet