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.

Parameters
ParameterDescription
c1The first complex number.
c2The second complex number.
Returns

A new Complex number that is the quotient of c1 and c2.

Throws
  • DivideByZeroException if the denominator is zero.
Example
c1 = Complex(1, 2)   # Default type is Double
c2 = Complex<Double>(3, 4)
c3 = c1 / c2  # c3 is Complex<>(0.33, 0.5)