def test_exp_con():
    """Boolean condition asserts that value and derivative of e^x of the AutoDiff instance are equal to the expected value and derivative as calculated in the function for the case in which x is a real number.

    RETURNS
    ========
    If the boolean condition returns True nothing is returned. If it is computed to be false, then an AssertionError is raised.
    """
    c = 14
    assert {
        'diff': EF.exp(c).der,
        'value': EF.exp(c).val
    } == {
        'diff': 0,
        'value': math.exp(c)
    }
def target(x, y):
    return EF.exp(-(1 - x)**2 - 10 * (y - x**2)**2)
 def myfunc(x):
     f1 = EF.exp(x)
     return f1