Decimal Math.Sin Cos 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#
A tuple containing the sine and cosine of angle.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.