Spaces:
Running
Running
File size: 185 Bytes
6a86ad5 |
1 2 3 4 5 6 7 8 9 10 11 12 |
from sympy.core.symbol import symbols
from sympy.functions.elementary.exponential import exp
x, y = symbols('x,y')
e = exp(2*x)
q = exp(3*x)
def timeit_exp_subs():
e.subs(q, y)
|