pow

fnComplex!T pow(T, Int)(Complex!T x, const Int n) if (isIntegral!Int) @safe pure nothrow @nogc

Calculates xn. The branch cut is on the negative axis.

Parameters

xbase
nexponent

Returns

x raised to the power of n
fnComplex!T pow(T)(Complex!T x, const T n) @trusted pure nothrow @nogc

ditto

fnComplex!T pow(T)(Complex!T x, Complex!T y) @trusted pure nothrow @nogc

ditto

fnComplex!T pow(T)(const T x, Complex!T n) @trusted pure nothrow @nogc

ditto