NFloat.SinCosPi(NFloat) 方法

定义

计算值的正弦值和余弦值。

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

参数

x
NFloat

在计算其正弦和余弦值之前,该值乘以 pi 半转。

返回

的正弦值和余弦值 x

实现

注解

这会计算 (sin(x), cos(x))

适用于