Wilang Documentation1.0.0+4

hypot#

Calculate the hypotenuse of a list with values.

Available in: math cells, REPL.

Syntax#

hypot(a, b, c, ...)
hypot([a, b, c, ...])

Arguments and behavior#

Arguments must match one of the syntax forms above. Use the example as a starting point; arrays and numeric types are accepted only by compatible overloads. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
hypot(3, 4)

Expected result: 5.

See also#

abs · norm

All functions · Math guides