IMath<TNumeric>.Cos Method

Returns the cosine of the specified angle.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Cos(
	TNumeric x
)

Parameters

x  TNumeric
An angle, measured in radians.

Return Value

TNumeric
The cosine of x.

Remarks

This method may return NaN or Infinity. If NaN or Infinity cannot be represented by TNumeric, then this method may throw an ArithmeticException.

See Also