ILNumerics.Net - numeric computing for .NET
Cosinus
Namespace:
ILNumericsAssembly: ILNumerics.Net (in ILNumerics.Net.dll)
Version: 1.3.12.0 (0.9.28.0)
Syntax
| C# |
|---|
public static complex Cos( complex input ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Cos ( _ input As complex _ ) As complex |
| Visual C++ |
|---|
public: static complex Cos( complex input ) |
Parameters
- input
- Type: ILNumerics..::.complex
input
Return Value
cosinus of input
Remarks
The cosinus is computed by the trigonometric euler equation:
0.5 * [exp(i input) + exp(-i input)]