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 xlog1py(). Original docstring below.

xlog1py(x1, x2, /, out=None, *, where=True, casting=’same_kind’, order=’K’, dtype=None, subok=True[, signature, extobj])

xlog1py(x, y)

Parameters
  • x (array_like) – Multiplier

  • y (array_like) – Argument

Returns

z – Computed x*log1p(y)

Return type

array_like

Notes

New in version 0.13.0.