Method SinCos
SinCos(BigRational)
Computes the sine and cosine of a value.
Declaration
public static (BigRational, BigRational) SinCos(BigRational x)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value, in radians, whose sine and cosine are to be computed. |
Returns
Type | Description |
---|---|
System.ValueTuple<BigRational, BigRational> | The sine and cosine of |
Remarks
This computes (sin(x), cos(x))
.
Part of the new NET 7 number type system see System.Numerics.ITrigonometricFunctions`1.SinCos(`0).
The desired precision can preset by MaxDigits