Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |
See also: | exp log log10 log1p |
Function: | expm1 | |
Description: | expm1 computes e^(x-1) accurately even for tiny x. |
Usage: | z = expm1 (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
expm1(0:1)
Contents of expm1 [1,] 0.36788 [2,] 1