|
abs
|
The abs function computes the absolute value of a single complex number
argument where the absolute value of a complex number a + bi is given by: sqrt(a
The abs function is used to compute the absolute value of a number.
(abs num) A real number holding the magnitude of X.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The magnitude of a variety of complex numbers is shown below.
The result of the operation is shown in the comment. The result is always a real number.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types num A complex number. Number
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?