NFloat.SinCos(NFloat) 方法

定义

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

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

参数

x
NFloat

值(以弧度为单位),要计算其正弦和余弦值。

返回

的正弦值和余弦值 x

实现

注解

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

适用于