dual_exp#

rateslib.dual.dual_exp(x)#

Calculate the exponential value of a regular int or float or a dual number.

Parameters:

x (int, float, Dual, Dual2) – Value to calculate exponent of.

Return type:

float, Dual, Dual2