DecimalMath.SinCos Method

Computes the sine and cosine of a decimal value.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static (decimal , decimal ) SinCos(
	decimal angle
)

Parameters

angle  Decimal
A decimal value that specifies the angle in radians.

Return Value

ValueTuple<Decimal, Decimal>
A tuple containing the sine and cosine of angle.

See Also