klyn.math.Complex.operator/
method
public static operator/( c1 as Complex<FLOAT_TYPE>, c2 as Complex<FLOAT_TYPE> ) as Complex<FLOAT_TYPE>:
Description
Division operator for Complex numbers.
c1 = Complex(1, 2)   # Default type is Double
c2 = Complex<Double>(3, 4)
c3 = c1 / c2  # c3 is Complex<>(0.33, 0.5)
Parameters
  • c1 The first complex number.
  • c2 The second complex number.
Returns
A new Complex number that is the quotient of c1 and c2.
Throws
  • DivideByZeroException if the denominator is zero. ``` c1 = Complex(1, 2) # Default type is Double c2 = Complex<Double>(3, 4) c3 = c1 / c2 # c3 is Complex<>(0.33, 0.5) ```