Return element-wise hypotenuse for the given legs of a right triangle.
In the original NumPy/JAX implementation, this function is more numerically stable than sqrt(x1**2 + x2**2). We don't currently implement those stability improvements.
sqrt(x1**2 + x2**2)
Return element-wise hypotenuse for the given legs of a right triangle.
In the original NumPy/JAX implementation, this function is more numerically stable than
sqrt(x1**2 + x2**2). We don't currently implement those stability improvements.