Big Float.Tanh 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
Tanh( | Returns the hyperbolic tangent of a number. |
Tanh( | Returns the hyperbolic tangent of a number with the specified accuracy. |
Tanh( | Returns the hyperbolic tangent of a number with the specified accuracy. |
Tanh(BigFloat)
Returns the hyperbolic tangent of a number.
public static BigFloat Tanh(
BigFloat value
)
Parameters
Return Value
BigFloatThe hyperbolic tangent of value.
Implements
IHyperbolicFunctions<TSelf>.Tanh(TSelf)Remarks
The result has the same relative accuracy as value.
Exceptions
Argument | value is null. |
Tanh(BigFloat, AccuracyGoal)
Returns the hyperbolic tangent of a number with the specified accuracy.
public static BigFloat Tanh(
BigFloat value,
AccuracyGoal accuracyGoal
)
Parameters
- value BigFloat
- A BigFloat value.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatThe hyperbolic tangent of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |
Tanh(BigFloat, AccuracyGoal, RoundingMode)
Returns the hyperbolic tangent of a number with the specified accuracy.
public static BigFloat Tanh(
BigFloat value,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- value BigFloat
- A BigFloat value.
- 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
BigFloatThe hyperbolic tangent of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |