pyspark.sql.functions.hypot

pyspark.sql.functions.hypot(col1, col2)[source]

Computes sqrt(a^2 + b^2) without intermediate overflow or underflow.

New in version 1.4.