the
hypot
of
factor
hypot
(
expression )
Factor and expression yield list
s of integers
, numbers
, or complexes
.
put
hypot
(3,4) -- yields 5
The hypot
function returns the square root of the sum of the squares of its arguments. For one argument, this is equivalent to the abs
function. For n arguments, this is equivalent to the distance from the origin of the specified point in n-dimensional space.
This function is similar to the abs
function, but can take more than one argument.