method Complex
1 | class ComplexStr |
1.1 | (ComplexStr) method Complex |
2 | role Real |
2.1 | (Real) 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: --> Complex)
Converts the number to a Complex
with the number converted to a Num
as its real part and 0e0 as the imaginary part.