Returns the cosine of a Complex.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static Complex Cos(
	Complex z
)
Visual Basic (Declaration)
Public Shared Function Cos ( _
	z As Complex _
) As Complex
Visual C++
public:
static Complex Cos(
	Complex z
)

Parameters

z
Type: Imsl.Math..::.Complex
A Complex object.

Return Value

A newly constructed Complex initialized to the cosine of the argument.

Remarks

The value of Cos is defined in terms of the function Cosh, by \cos(z) = \cosh(iz).

See Also