SciPy

scipy.special.xlog1py

scipy.special.xlog1py(x, y) = <ufunc 'xlog1py'>

Compute x*log1p(y) so that the result is 0 if x = 0.

Parameters :

x : array_like

Multiplier

y : array_like

Argument

Returns :

z : array_like

Computed x*log1p(y)