Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |
See also: | exp expm1 log log10 |
Function: | log1p | |
Description: | log1p computes the natural logarithm of (1+x) accurately even for tiny x. |
Usage: | z = log1p (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
log1p (expm1((1:5)'))
Contents of log1p [1,] 0.69315 1.3133 2.1269 3.0486 4.0181
Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |
See also: | exp expm1 log log10 |