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

适用于