NFloat.CosPi(NFloat) 方法

定义

计算已被 倍数乘的值 pi的余弦值。

public:
 static System::Runtime::InteropServices::NFloat CosPi(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::CosPi;
public static System.Runtime.InteropServices.NFloat CosPi (System.Runtime.InteropServices.NFloat x);
static member CosPi : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function CosPi (x As NFloat) As NFloat

参数

x
NFloat

值,以半旋转为单位,其余弦值要计算。

返回

乘以 pix余弦值。

实现

注解

这将计算 cos(x * π)

适用于