Zero (0) as a Complex number
One (1) as a Complex number
Negative one (-1) as a Complex number
Imaginary one (i) as a Complex number
Negative imaginary one (-i) as a Complex number
Return the absolute value of that complex number.
Return the absolute value of that complex number.
that complex number
Create a complex number from its primary string representation "a+bi".
Create a complex number from its primary string representation "a+bi". Examples: "2.1+3.2i", "2.1", "3.2i".
the string form of a complex number
Create a complex number from a pair (Tuple2) of Doubles.
Create a complex number from a pair (Tuple2) of Doubles.
the tuple form of a complex number
Create a complex number from the given polar coordinates.
Create a complex number from the given polar coordinates.
the radius (the length of the vector in the re-im plane)
the angle (the angle of the vector above the re-axis)
Create a complex number from its secondary string representation "(a, b)".
Create a complex number from its secondary string representation "(a, b)". Examples: "(2.1, 3.2)", "(2.1, 0)", "(0, 3.2)".
the string form of a complex number
Ordering for complex numbers.
Return the square root of that complex number.
Return the square root of that complex number.
that complex number
www.mathpropress.com/stan/bibliography/complexSquareRoot.pdf
The
Complex
companion object defines the origin (zero) and the fourth roots of unity as well as some utility functions.