Decimal Math.Tanh Method
Returns the hyperbolic tangent of the specified angle.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The hyperbolic tangent of value. If value is equal to System.Double.NegativeInfinity, this method returns -1. If value is equal to System.Double.PositiveInfinity, this method returns 1. If value is equal to System.Double.NaN, this method returns System.Double.NaN.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static decimal Tanh(
decimal value
)
Parameters
- value Decimal
- The hyperbolic angle.
Return Value
DecimalThe hyperbolic tangent of value. If value is equal to System.Double.NegativeInfinity, this method returns -1. If value is equal to System.Double.PositiveInfinity, this method returns 1. If value is equal to System.Double.NaN, this method returns System.Double.NaN.