code
stringlengths
3
6.57k
cos(pi - x)
cos(x)
_check_even_rewrite(func, arg)
f(-x)
f(x)
func(arg)
_check_odd_rewrite(func, arg)
f(-x)
f(x)
func(arg)
_check_no_rewrite(func, arg)
func(arg)
test_evenodd_rewrite()
cos(2)
sin(1)
_check_even_rewrite(func, expr)
_check_no_rewrite(func, a*b)
func(y - x)
_check_odd_rewrite(func, expr)
_check_no_rewrite(func, a*b)
func(y - x)
test_issue_4547()
sin(x)
rewrite(cot)
cot(x/2)
cot(x/2)
cos(x)
rewrite(cot)
cot(x/2)
cot(x/2)
tan(x)
rewrite(cot)
cot(x)
cot(x)
fdiff()
cot(x)
test_as_leading_term_issue_5272()
sin(x)
as_leading_term(x)
cos(x)
as_leading_term(x)
tan(x)
as_leading_term(x)
cot(x)
as_leading_term(x)
asin(x)
as_leading_term(x)
acos(x)
as_leading_term(x)
atan(x)
as_leading_term(x)
acot(x)
as_leading_term(x)
test_leading_terms()
in (1/x, S.Half)
func(arg)
eq.as_leading_term(x)
test_atan2_expansion()
cancel(atan2(x**2, x + 1)
diff(x)
atan(x**2/(x + 1)
diff(x)
cancel(atan(y/x)
series(y, 0, 5)
atan2(y, x)
series(y, 0, 5)
atan2(0, x)
atan(0)
O(y**5)
cancel(atan(y/x)
series(x, 1, 4)
atan2(y, x)
series(x, 1, 4)
atan2(y, 1)
atan(y)
O((x - 1)
cancel(atan((y + x)
series(x, 1, 3)
atan2(y + x, x)
series(x, 1, 3)
atan2(1 + y, 1)
atan(1 + y)
O((x - 1)
Matrix([atan2(y, x)
jacobian([y, x])
Matrix([[x/(y**2 + x**2)
test_aseries()
t(n, v, d, e)
n(1/v)
evalf()
n(1/x)
series(x, dir=d)
removeO()
subs(x, v)
t(atan, 0.1, '+', 1e-5)
t(atan, -0.1, '-', 1e-5)
t(acot, 0.1, '+', 1e-5)
t(acot, -0.1, '-', 1e-5)
test_issue_4420()
Symbol('i', integer=True)