Traktor/myenv/Lib/site-packages/sympy/integrals/benchmarks/bench_trigintegrate.py

14 lines
305 B
Python
Raw Normal View History

2024-05-26 05:12:46 +02:00
from sympy.core.symbol import Symbol
from sympy.functions.elementary.trigonometric import sin
from sympy.integrals.trigonometry import trigintegrate
x = Symbol('x')
def timeit_trigintegrate_sin3x():
trigintegrate(sin(x)**3, x)
def timeit_trigintegrate_x2():
trigintegrate(x**2, x) # -> None