Edit

Kongsi melalui


ITrigonometricFunctions<TSelf>.SinCosPi(TSelf) Method

Definition

Computes the sine and cosine of a value that has been multiplied by 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)

Parameters

x
TSelf

The value, in half-revolutions, that is multipled by pi before computing its sine and cosine.

Returns

ValueTuple<TSelf,TSelf>

The sine and cosine ofx multiplied-by pi.

Remarks

This computes (sin(x * π), cos(x * π)).

Applies to