AuxiliaryCoordinate.exp(*args, **kwargs)[source]

The exponential of the data, element-wise.

See also


bounds: bool, optional

If False then do not alter any bounds. By default any bounds are also altered.

inplace: bool, optional

If True then do the operation in-place and return None.

i: deprecated at version 3.0.0

Use the inplace parameter instead.

AuxiliaryCoordinate or None

The construct with the exponential of data values. If the operation was in-place then None is returned.


<CF Data(1, 2): [[1, 2]]>
>>> f.exp().data
<CF Data(1, 2): [[2.71828182846, 7.38905609893]]>
<CF Data(1, 2): [[1, 2]] 2>
>>> f.exp().data
<CF Data(1, 2): [[7.38905609893, 54.5981500331]]>
<CF Data(1, 2): [[1, 2]] kg m-1 s-2>
>>> f.exp()
ValueError: Can't take exponential of dimensional quantities: <Units: kg m-1 s-2>