abs
|
The abs function returns the absolute value of its argument. The abs function computes the absolute value of a single complex number
argument where the absolute value of the complex number a + bi is given by: sqrt(square(a) + square(b)) Usage The abs function is used to compute the absolute value of a number.
Number
Complex
(abs num) The absolute value of the Number (abs num) The absolute value of the complex number argument
Expression:
Arguments
Name
Type
Description Argument: num Number
A real Number
Returns:
Expression:
Arguments
Name
Type
Description Argument: num Complex
A complex number
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Number | Complex |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|