klyn.math.NDArray.exp2
method
public native exp2() as NDArray<Double>
Description

Returns the element-wise power of two.

The result is materialized as NDArray<Double>.

a = NDArray<Double>.fromList([1.0, 4.0])
print(a.exp2())