pow

fun pow(exponent: Double): Complex(source)

Raises the current complex number to the power of the given exponent. The operation is performed in polar form, where the magnitude is raised to the exponent and the argument is multiplied by the exponent.

Return

A new instance of Complex representing the result of the operation.

Parameters

exponent

The exponent to which the complex number is raised.