NFloat.Cos(NFloat) 方法

定义

计算值的余弦值。

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

参数

x
NFloat

要计算余弦值的值(以弧度为单位)。

返回

x 的余弦值。

实现

注解

这会计算 cos(x)

适用于