log1p

odl.log1p(x1, out=None)

Calculates an implementation-dependent approximation to ln(1 + x_i) for each element x_i of the input array x.

For small x, the result of this function should be more accurate than log(1 + x).