Calculates the cosine of a floating point number.

Namespace: CenterSpace.NMath.Core
Assembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0

Syntax

C#
public static float Cos(
	float f
)
Visual Basic
Public Shared Function Cos ( _
	f As Single _
) As Single
Visual C++
public:
static float Cos(
	float f
)

Parameters

f
Type: System..::..Single
A floating point number.

Return Value

The cosine of f.

See Also