log1p

Syntax

log1p(X)

Arguments

X is a scalar/vector/matrix/table.

Details

Return log(1+X).

Examples

log1p(0);
// output
0

log1p([0, e-1, pow(e,2)-1, pow(e,3)-1, NULL]);
// output
[0,1,2,3,]

log1p([0, e-1, pow(e,2)-1, pow(e,3)-1]$2:2);
#0 #1
0 2
1 3