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

Addition operator between a scalar value and a complex number.

Parameters
  • value The scalar value added to the real part.
  • c1 The complex number.
Returns

A new Complex number. c = 2 + 3j print(4 + c) # Output: 6.0 + 3.0i