method Complex

Documentation for method Complex assembled from the following types:

class ComplexStr

From ComplexStr

(ComplexStr) method Complex

method Complex

Returns the Complex value of the ComplexStr.

role Real

From Real

(Real) method Complex

method Complex(Real:D: --> Complex:D)

Converts the number to a Complex with the number converted to a Num as its real part and 0e0 as the imaginary part.