pow

fnSeries pow(Series base, Series exponent)

base raised to the exponent Series, elementwise: float pairs compute at their supertype (FLOAT32 x FLOAT32 stays FLOAT32, computed in double and rounded once); integer pairs stay integer with wrap-like-D multiplication, a negative exponent throws, and 0^0 = 1. IEEE exceptional values pass through; nulls propagate.

Parameters

basethe base column
exponentthe exponent column (equal length)

Returns

the powered Series.

Throws

DataFrameException on non-numeric kinds, a length mismatch

or a negative integer exponent.

fnSeries pow(T)(Series base, T exponent) if (isSupportedScalar!T && !is(T == Series))

Ditto, with a broadcast scalar exponent.

fnSeries pow(T)(T base, Series exponent) if (isSupportedScalar!T && !is(T == Series))

Ditto, with a broadcast scalar base.