toComplex

fun Number.toComplex(): Complex

Creates a complex number with real part equal to this real.

Return

the new complex number.

Sources

common source
Link copied to clipboard