共用方式為


ITrigonometricFunctions<TSelf>.SinCos(TSelf) 方法

定義

計算值的正弦和餘弦值。

public:
 static ValueTuple<TSelf, TSelf> SinCos(TSelf x);
public static abstract (TSelf Sin, TSelf Cos) SinCos (TSelf x);
static member SinCos : 'Self -> ValueTuple<'Self, 'Self (requires 'Self :> System.Numerics.ITrigonometricFunctions<'Self> and 'Self :> System.Numerics.ITrigonometricFunctions<'Self>)>
Public Shared Function SinCos (x As TSelf) As ValueTuple(Of TSelf, TSelf)

參數

x
TSelf

要計算其正弦和餘弦值,以弧度為單位。

傳回

ValueTuple<TSelf,TSelf>

的正弦和餘弦 x值。

備註

這會計算 (sin(x), cos(x))

適用於