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

Addition operator between a complex number and a scalar value.

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

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