kmath
0.3.1-dev-RC
common
kmath-complex
/
space.kscience.kmath.complex
/
toComplex
to
Complex
fun
Number
.
toComplex
(
)
:
Complex
(
source
)
Creates a complex number with real part equal to this real.
Receiver
the real part.
Return
the new complex number.