|
Add
|
The + function adds a variety of numeric data types to a complex number.
The + function is used to sum numeric data types where at least one of the addends is complex. Will also handle immediate types. Since complex numbers are heap objects, they require more space. Operations on these types are slower than on immediate types.
(+ N1 N2 ...) A complex number holding the sum of N1, N2, N3, etc.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The sum of a variety of data types with a complex number is shown here.
The result of the operation is shown in the comment. 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 N1 N2 ... A numeric type. Number
Returns:
Examples
Argument Types
Number
Integer
Complex
How do I contact the AIS team?