klyn.math.Math.hypot
method
public static hypot<LEFT_TYPE extends AbstractNumber, RIGHT_TYPE extends AbstractNumber>(x as NDArray<LEFT_TYPE>, y as NDArray<RIGHT_TYPE>) as NDArray<Double>:
Description
Returns the element-wise Euclidean distance of two arrays. This overload delegates to the native vectorized NDArray kernel.
import klyn.math

x = NDArray<Double>.fromList([3.0, 5.0])
y = NDArray<Double>.fromList([4.0, 12.0])
print(Math.hypot(x, y))