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.
14 lines
305 B
14 lines
305 B
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
|