Description Usage Arguments Details Value Author(s) See Also Examples
Compute log(cosh(x))
without floating overflow or underflow
1 | logcosh(x)
|
x |
a numeric vector or matrix. |
The computation uses asymptotic expressions for very large or very small arguments.
For intermediate arguments, log(cosh(x))
is returned.
Numeric vector or matrix of same dimensions as x
.
Gordon K Smyth
1 2 3 |
[1] 5.000000e-17 5.000000e-15 5.000000e-13 5.000000e-11 5.000000e-09
[6] 4.337808e-01 2.309329e+00 4.930685e+01 7.993069e+02
[1] 0.000000e+00 5.107026e-15 5.000445e-13 5.000000e-11 5.000000e-09
[6] 4.337808e-01 2.309329e+00 4.930685e+01 Inf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.