ai-content-maker/.venv/Lib/site-packages/sympy/functions/elementary/benchmarks/bench_exp.py

12 lines
185 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
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)