def exp(x):
if isinstance(x, UncertainFunction):<EOL><INDENT>mcpts = np.exp(x._mcpts)<EOL>return UncertainFunction(mcpts)<EOL><DEDENT>else:<EOL><INDENT>return np.exp(x)<EOL><DEDENT>
Exponential function