log1p
log(1 + x) accurately for small values of x.
Syntax
- R = log1p(M)
Input argument
- M - a variable
Output argument
- R - result of log(1 + x) accurately for small values of x.
Description
log1p computes log(1 + x) accurately for small values of x.
Example
x = [1+i,-i;i,2i];
r = log1p(x)
See also
log.
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET