Op Englesch liesen Editéieren

Deelen iwwer


ITrigonometricFunctions<TSelf>.SinCosPi(TSelf) Method

Definition

Computes the sine and cosine of a value that has been multiplied by pi.

C#
public static abstract(TSelf SinPi, TSelf CosPi) SinCosPi(TSelf x);

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

Produkt Versiounen
.NET 7, 8, 9, 10