|
Mul
|
The * Function forms the product of a variety of numeric data types and
one or more complex numbers as shown in the examples below. The product of xr + i xi
with yr + i yi is xr*yr - xi*yi + i (xr* yi + xi*yr).
Use the * function to multiply numeric data types where at least one of the arguments is complex. 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.
(* N1 N2) A complex number holding the product of N1, N2, etc.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The product 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?