klyn.math.Complex.operator/
method
public static operator/(notnull c1 as Complex<FLOAT_TYPE>, value as FLOAT_TYPE) as Complex<FLOAT_TYPE>
Description

Divides each component by a scalar, avoiding a temporary divisor object.

Parameters
ParameterDescription
c1Complex dividend.
valueScalar divisor.
Returns

Quotient retaining the component type.

Throws
  • ZeroDivisionException if the scalar divisor is zero.
Example

assert (Complex<Double>(2.0, 4.0) / 2.0).imag == 2.0