Beispiel #1
0
def exp(math_func):
    if isinstance(math_func, MathFunc):
        return math_func.op(op=e)
    else:
        return e(math_func)
Beispiel #2
0
def exp(math_dict):
    if isinstance(math_dict, MathDict):
        return math_dict.op(op=e)
    else:
        return e(math_dict)
Beispiel #3
0
 def exprs(self):
     x0, x1, A = self['x0'], self['x1'], self['A']
     return [A*x0*x1-1,
             (e(-x0)+e(-x1)-(1+1/A))]
 def expressions(self):
     u, l = self['u'], self['lambda_u']
     return {u: 3*u-4*e(-u)}
Beispiel #5
0
def exp(math_dict):
    if isinstance(math_dict, MathDict):
        return math_dict.op(op=e)
    else:
        return e(math_dict)