klyn.math.Complex.Complex
constructor
public Complex(real as FLOAT_TYPE = 0, imaginary as FLOAT_TYPE = 0):
Description

Constructor for Complex class.

Parameters
  • real The real part of the complex number.
  • imaginary The imaginary part of the complex number. ``` c = Complex<Double>(3.1, 4) print(c) # Output: 3.1 + 4j ```