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
xarray_like

Multiplier

yarray_like

Argument

Returns
zarray_like

Computed x*log1p(y)

Notes

New in version 0.13.0.

Previous topic

scipy.special.xlogy

Next topic

scipy.special.logsumexp