- getReal
Access the real part.
- getImaginary
Access the imaginary part.
- multiply
Returns a Complex whose value is this * factor. Implements preliminary checks
for NaN and infinity f
- abs
Return the absolute value of this complex number. Returns NaN if either real or
imaginary part is Na
- divide
Returns a Complex whose value is (this / divisor). Implements the definitional
formula
a + bi
- add
Returns a Complex whose value is (this + addend). Uses the definitional formula
(a + bi) + (c + di)
- conjugate
Returns the conjugate of this complex number. The conjugate of a + bi is a - bi.
#NaN is returned i
- subtract
Returns a Complex whose value is (this - subtrahend). Uses the definitional
formula (a + bi) - (c +
- negate
Returns a Complex whose value is (-this). Returns NaN if either real or
imaginary part of this Compl
- log
Compute the natural logarithm
[http://mathworld.wolfram.com/NaturalLogarithm.html] of this complex n
- sqrt
Compute the square root [http://mathworld.wolfram.com/SquareRoot.html] of this
complex number. Imple
- equals
Test for the floating-point equality between Complex objects. It returns true if
both arguments are