共用方式為


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

適用於