ai-content-maker/.venv/Lib/site-packages/sympy/integrals/benchmarks/bench_trigintegrate.py

14 lines
305 B
Python

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