Computes the absolute value of a complex number.
- z (Complex)
- The argument.
The value of |z|.
The absolute value of a complex number is the distance of the number from the origin in the complex plane. This is a compatible generalization of the definition of the absolute value of a real number.