Scilab 6.0.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
log1p
computes with accuracy the natural logarithm of its argument added by one
Syntax
y=log1p(x)
Arguments
- x
real scalar, vector or matrix
- y
real scalar, vector or matrix
Description
log1p(x)
is the "element-wise" log(1+x)
function.
y(i,j)=log(1 + x(i,j))
. This function, defined for x
> -1, must be used if we want to compute log(1+x)
with accuracy for |x|
<< 1.
Examples
See also
- log — natural logarithm
Report an issue | ||
<< log10 | Log - exp - power | log2 >> |