Big Float.Sin Cos Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Sin | Calculates the sine and the cosine of an angle. |
Sin | Calculates the sine and the cosine of an angle with the specified accuracy. |
Sin | Calculates the sine and the cosine of an angle with the specified accuracy. |
Sin | Calculates the sine and the cosine of an angle. |
Sin | Calculates the sine and the cosine of an angle with the specified accuracy. |
Sin | Calculates the sine and the cosine of an angle with the specified accuracy. |
SinCos(BigFloat)
Calculates the sine and the cosine of an angle.
public static (BigFloat , BigFloat ) SinCos(
BigFloat angle
)
Parameters
Return Value
ValueTuple<BigFloat, BigFloat>A tuple consisting of the sine and cosine of angle.
Implements
ITrigonometricFunctions<TSelf>.SinCos(TSelf)Remarks
The results have the same relative accuracy as the absolute accuracy of angle.
Exceptions
Argument | angle is null. |
SinCos(BigFloat, AccuracyGoal)
Calculates the sine and the cosine of an angle with the specified accuracy.
public static (BigFloat , BigFloat ) SinCos(
BigFloat angle,
AccuracyGoal accuracyGoal
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
ValueTuple<BigFloat, BigFloat>A tuple consisting of the sine and cosine of angle.
Exceptions
Argument | angle is null. |
SinCos(BigFloat, AccuracyGoal, RoundingMode)
Calculates the sine and the cosine of an angle with the specified accuracy.
public static (BigFloat , BigFloat ) SinCos(
BigFloat angle,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
ValueTuple<BigFloat, BigFloat>A tuple consisting of the sine and cosine of angle.
Exceptions
Argument | angle is null. |
SinCos(BigFloat, BigFloat, BigFloat)
Calculates the sine and the cosine of an angle.
public static void SinCos(
BigFloat angle,
out BigFloat sin,
out BigFloat cos
)
Parameters
Remarks
The result has the same relative accuracy as the absolute accuracy of angle.
Exceptions
Argument | angle is null. |
SinCos(BigFloat, AccuracyGoal, BigFloat, BigFloat)
Calculates the sine and the cosine of an angle with the specified accuracy.
public static void SinCos(
BigFloat angle,
AccuracyGoal accuracyGoal,
out BigFloat sin,
out BigFloat cos
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- sin BigFloat
- On exit, the sine of angle.
- cos BigFloat
- On exit, the cosine of angle.
Exceptions
Argument | angle is null. |
SinCos(BigFloat, AccuracyGoal, RoundingMode, BigFloat, BigFloat)
Calculates the sine and the cosine of an angle with the specified accuracy.
public static void SinCos(
BigFloat angle,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode,
out BigFloat sin,
out BigFloat cos
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
- sin BigFloat
- On exit, the sine of angle.
- cos BigFloat
- On exit, the cosine of angle.
Exceptions
Argument | angle is null. |