specless.automaton.utils.xlogy

specless.automaton.utils.xlogy(x, y, **kwargs)[source]

Calculates the product of two numbers, one of which is multiplied by the logarithm of the other.

Parameters:
  • x (float or array_like) – The first number(s) for which the product is to be calculated.

  • y (float or array_like) – The second number(s) for which the logarithm is to be calculated.

  • **kwargs (dict, optional) – Additional keyword arguments to be passed to the logx function.

Returns:

The product(s) of the input numbers, with one of them multiplied by their logarithm(s).

Return type:

float or array_like