pow abstract method
Calculates pow(a,b)
for each element.
Element i
is calculated with the formula:
x[i] = pow(x[i], right[i]);
If swapArguments
is true
, base and power arguments will be swapped.
Throws ArgumentError if tensor shapes are not equal.
Implementation
void pow(Tensor<T> right, {bool swapArguments = false});