public pow(value as T) as NDArray<Double>:
Raises each element to the given scalar power.
The result is materialized as NDArray<Double>.
NDArray<Double>
a = NDArray<Int>.fromList([2, 3, 4]) print(a.pow(2)) # [4.0, 9.0, 16.0]