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

Constructor for Complex class.

Parameters
ParameterDescription
realThe real part of the complex number.
imaginaryThe imaginary part of the complex number.
Example
c = Complex<Double>(3.1, 4)
print(c)     # Output: 3.1 + 4.0j