power<T extends Complex> abstract method

Complex power<T extends Complex>(
  1. T x
)

Returns of value of this complex number raised to the power of x.

Implements the formula:

y^x = exp(x·log(y))

where exp and log are exp and log, respectively.

Returns nan if either real or imaginary part of the input argument is NaN or infinite, or if y equals zero.

Implementation

Complex power<T extends Complex>(T x);