|
sqrt
|
The sqrt function returns the square root of a complex number.
The sqrt function is used to find the number, when multiplied by itself, equals the argument of the expression. Do not use if an immediate type, such as a real number, would suffice. Since complex numbers are heap objects, they require more space and operations on these types are slower than on immediate types.
A complex number holding the square root of its argument X.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The square root of a complex number are shown in this example.
The first double shown is the real part of the result. The second number
shown is the imaginary part of the result.
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 X A complex number. Complex
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?