Single.CosPi(Single) 方法

定義

計算 已由 pi 倍數乘之值的余弦值。

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

參數

x
Single

在半旋轉中,要計算余弦的值。

傳回

乘以 pix 余弦。

實作

備註

這會計算 cos(x * π)

適用於