語言

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

計算的值(以半轉為單位)及其餘弦值。

傳回

的 x 餘弦乘以 pi。

實作

備註

此計算出 cos(x * π)。

適用於