MoreMathCosPi Method

Computes the cosine of the given multiple of π.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double CosPi(
	double x
)

Parameters

x  Double
The argument.

Return Value

Double
The value of cos(xπ).

Remarks

For an explanation of why and when to use this function, see SinPi(Double).

See Also