Rediger

Del via


NFloat.SinCos(NFloat) Method

Definition

Computes the sine and cosine of a value.

public:
 static ValueTuple<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat> SinCos(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::SinCos;
public static (System.Runtime.InteropServices.NFloat Sin, System.Runtime.InteropServices.NFloat Cos) SinCos (System.Runtime.InteropServices.NFloat x);
static member SinCos : System.Runtime.InteropServices.NFloat -> ValueTuple<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>
Public Shared Function SinCos (x As NFloat) As ValueTuple(Of NFloat, NFloat)

Parameters

x
NFloat

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

Returns

The sine and cosine of x.

Implements

Remarks

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

Applies to