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

Subtraction operator between a complex number and a scalar value.

Parameters
  • c1 The complex number.
  • value The scalar value subtracted from the real part.
Returns

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