Power

<series> output = <series>.pow(<constant> Exponent Value)

<series> output = <series>.pow(<series> Exponent Series)

This function raises each data point in the calling series to the power of either Exponent Value or the corresponding data point in Exponent Series.  If Exponent Series is used, Exponent Series and the calling series must have the same number of points.  If they do not have the same number of points the function call will throw an exception.  This function requires exactly one argument.

Examples:

var mySeries2 = mySeries.pow(3);

var mySeries3 = mySeries.pow(mySeries2);