語言

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)。

適用於