語言

Single.Cos(Single) 方法

定義

計算一個值的餘弦值。

public:
 static float Cos(float x) = System::Numerics::ITrigonometricFunctions<float>::Cos;
public static float Cos(float x);
static member Cos : single -> single
Public Shared Function Cos (x As Single) As Single

參數

x
Single

要計算的餘弦值(以弧度為單位)。

傳回

的 x餘弦值。

實作

備註

此計算出 cos(x)。

適用於