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.

10 lines
211 B

6 months ago
  1. from sympy.core.add import Add
  2. from sympy.core.symbol import Symbol
  3. from sympy.series.order import O
  4. x = Symbol('x')
  5. l = list(x**i for i in range(1000))
  6. l.append(O(x**1001))
  7. def timeit_order_1x():
  8. Add(*l)