語言

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))。

適用於