DecimalMath.Tanh Method

Returns the hyperbolic tangent of the specified angle.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static decimal Tanh(
	decimal value
)

Parameters

value  Decimal
The hyperbolic angle.

Return Value

Decimal
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.

See Also