Functions

radius

Supported By

Syntax

[the] radius of factor

radius ( expression )

Factor and expression yield lists of integers, numbers, or complexes.

Example

put radius(3,4) -- yields 5

Description

The radius 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.

Note

This function is similar to the abs function, but can take more than one argument.

Synonym

hypot

See Also

abs, xcoord, ycoord, theta