jax.scipy.special.xlog1py#

jax.scipy.special.xlog1py(x, y)[source]#

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

LAX-backend implementation of scipy.special.xlog1py().

Original docstring below.

Parameters
  • x (array_like) – Multiplier

  • y (array_like) – Argument

  • out (ndarray, optional) – Optional output array for the function results

Returns

z – Computed x*log1p(y)

Return type

scalar or ndarray