scipp.exp#
- scipp.exp(x, *, out=None)#
Element-wise exponential.
- Parameters:
- Returns:
TypeVar(_T) – e raised to the power of the input.
Examples
Compute exponential function:
>>> import scipp as sc >>> x = sc.array(dims=['x'], values=[0.0, 1.0, 2.0]) >>> sc.exp(x) <scipp.Variable> (x: 3) float64 [dimensionless] [1, 2.71828, 7.38906]
The input must be dimensionless.