BigFloat.Tan Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Tan(BigFloat) Returns the tangent of an angle.
Tan(BigFloat, AccuracyGoal) Returns the tangent of an angle with the specified accuracy.
Tan(BigFloat, AccuracyGoal, RoundingMode) Returns the tangent of an angle with the specified accuracy.

Tan(BigFloat)

Returns the tangent of an angle.
C#
public static BigFloat Tan(
	BigFloat angle
)

Parameters

angle  BigFloat
A BigFloat value that specifies the angle in radians.

Return Value

BigFloat
The tangent of angle.

Implements

ITrigonometricFunctions<TSelf>.Tan(TSelf)

Remarks

The result has the same relative accuracy as the absolute accuracy of angle.

Exceptions

ArgumentNullException

angle is null.

Tan(BigFloat, AccuracyGoal)

Returns the tangent of an angle with the specified accuracy.
C#
public static BigFloat Tan(
	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

BigFloat
The tangent of angle with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

angle is null.

Tan(BigFloat, AccuracyGoal, RoundingMode)

Returns the tangent of an angle with the specified accuracy.
C#
public static BigFloat Tan(
	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

BigFloat
The tangent of angle with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

angle is null.

See Also