scipy.special.xlogy#

scipy.special.xlogy(x, y, out=None) = <ufunc 'xlogy'>#

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

Parameters:
xarray_like

Multiplier

yarray_like

Argument

outndarray, optional

Optional output array for the function results

Returns:
zscalar or ndarray

Computed x*log(y)

Notes

New in version 0.13.0.