m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
185 B

6 months ago
  1. from sympy.core.symbol import symbols
  2. from sympy.functions.elementary.exponential import exp
  3. x, y = symbols('x,y')
  4. e = exp(2*x)
  5. q = exp(3*x)
  6. def timeit_exp_subs():
  7. e.subs(q, y)