Computes the cosine of the given multiple of π.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static double CosPi(
double x
)
Public Shared Function CosPi (
x As Double
) As Double
public:
static double CosPi(
double x
)
static member CosPi :
x : float -> float
Parameters
- x
- Type: SystemDouble
The argument.
Return Value
Type:
DoubleThe value of cos(
xπ).
Remarks For an explanation of why and when to use this function,
see SinPi(Double).
See Also