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

14 lines
305 B
Python
Raw Permalink Normal View History

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