semantique.processor.operators.exponential_

Contents

semantique.processor.operators.exponential_#

semantique.processor.operators.exponential_(x, track_types=True, **kwargs)[source]#

Compute the exponential function of x.

The exponential function of x is defined as e to the power x, in which e is Eulers number (approximately equal to 2.718). It is the inverse function of natural_logarithm_().

Parameters:
  • x (xarray.DataArray) – Array containing the values to apply the operator to.

  • track_types (bool) – Should the operator promote the value type of the output object, based on the value type of the input object?

  • **kwargs – Ignored.

Returns:

xarray.DataArray – An array with the same shape as x containing the results of all evaluated expressions.

Note

When tracking value types, this operator uses the following type promotion manual, with the keys being the supported value types of x, and the corresponding value being the promoted value type of the output.

{'continuous': 'continuous', 'discrete': 'continuous'}