pyspark.sql.functions.hypot

pyspark.sql.functions.hypot(col1: Union[ColumnOrName, float], col2: Union[ColumnOrName, float]) → pyspark.sql.column.Column[source]

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

New in version 1.4.