klyn.math.NDArray.atan2
method
public native atan2(other as NDArray<T>) as NDArray<Double>
Description

Returns the element-wise atan2(this, other).

The result is materialized as NDArray<Double>.

y = NDArray<Double>.fromList([1.0, 1.0])
x = NDArray<Double>.fromList([1.0, -1.0])
print(y.atan2(x))