Returns the cosine of an angle with the specified accuracy.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BigFloat Cos(
BigFloat angle,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Public Shared Function Cos (
angle As BigFloat,
accuracyGoal As AccuracyGoal,
roundingMode As RoundingMode
) As BigFloat
public:
static BigFloat^ Cos(
BigFloat^ angle,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
static member Cos :
angle : BigFloat *
accuracyGoal : AccuracyGoal *
roundingMode : RoundingMode -> BigFloat
Parameters
- angle
- Type: Extreme.MathematicsBigFloat
A BigFloat value that specifies the angle in radians. - accuracyGoal
- Type: Extreme.MathematicsAccuracyGoal
An AccuracyGoal value that specifies the desired
accuracy of the result. - roundingMode
- Type: Extreme.MathematicsRoundingMode
A RoundingMode value that specifies how the result should be rounded.
Return Value
Type:
BigFloatThe cosine of
angle with an accuracy
within
accuracyGoal.
Reference