語言

NFloat.SinPi(NFloat) 方法

定義

計算乘以 pi的值的正弦值。

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

參數

x
NFloat

該值以半轉為單位,乘以 pi 後計算其正弦。

傳回

正弦 x 乘以 pi。

實作

備註

此計算出 sin(x * π)。

適用於