hypot {SparkR}R Documentation

hypot

Description

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

Usage

hypot(y, x)

## S4 method for signature 'Column'
hypot(y, x)

Arguments

y

Column to compute on.

x

Column to compute on.

Note

hypot since 1.4.0

See Also

Other math_funcs: acos, asin, atan2, atan, bin, bround, cbrt, ceil, conv, corr, cosh, cos, covar_pop, cov, expm1, exp, factorial, floor, hex, log10, log1p, log2, log, pmod, rint, round, shiftLeft, shiftRightUnsigned, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

## Not run: hypot(df$c, x)

[Package SparkR version 2.2.3 Index]