|
cos
|
The cos function returns the cosine of a complex argument expressed in
radians (pi radians equals 180 degrees).
The cos function is used to determine the cosine of angle when the angle 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.
(cos angle) A complex number holding the cosine of the angle.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The cosine of a variety of complex values is shown here. 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 angle The angle expressed in radians. Number
Returns:
Examples
Argument Types
Number
How do I contact the AIS team?