specless.automaton.utils.xlogx

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

Calculates the product of a number and its logarithm with a specified base.

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

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

Returns:

The product(s) of the input number(s) and their logarithm(s).

Return type:

float or array_like