ITrigonometricFunctions<TSelf>.SinCosPi(TSelf) 方法

定义

计算已乘以 pi的值的正弦值和余弦值。

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

参数

x
TSelf

在计算其正弦和余弦值之前,该值乘以 pi 半转。

返回

ValueTuple<TSelf,TSelf>

乘以 pix正弦值和余弦值。

注解

这会计算 (sin(x * π), cos(x * π))

适用于