Redigera

Dela via


ITrigonometricFunctions<TSelf>.SinCos(TSelf) Method

Definition

Computes the sine and cosine of a value.

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)

Parameters

x
TSelf

The value, in radians, whose sine and cosine are to be computed.

Returns

ValueTuple<TSelf,TSelf>

The sine and cosine of x.

Remarks

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

Applies to