Elementary.Log Cosh Method
Returns the logarithm of the hyperbolic cosine of the specified value.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
C#
The value of log(cosh(x)).
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
public static double LogCosh(
double x
)Parameters
- x Double
- A real number.
Return Value
DoubleThe value of log(cosh(x)).
Remarks
This method evaluates log(cosh(x)) using a numerically stable form that avoids overflow for large absolute values of x.