code
stringlengths
3
6.57k
atan(x)
rewrite(log)
evalf(subs={x:-5*I})
atan(5*I)
evalf()
atan(x)
rewrite(log)
evalf(subs={x:5*I})
test_atan_fdiff()
atan(x)
fdiff()
raises(ArgumentIndexError, lambda: atan(x)
fdiff(2)
test_atan2()
FiniteSet(2)
atan2(0, 0)
atan2(0, 1)
atan2(1, 1)
atan2(1, 0)
atan2(1, -1)
Rational(3, 4)
atan2(0, -1)
atan2(-1, -1)
Rational(-3, 4)
atan2(-1, 0)
atan2(-1, 1)
symbols('i', imaginary=True)
symbols('r', real=True)
atan2(r, i)
log((i + I*r)
sqrt(i**2 + r**2)
eq.subs(reps)
ans.subs(reps)
Symbol('x', negative=True)
Symbol('y', negative=True)
atan2(y, x)
atan(y/x)
Symbol('y', nonnegative=True)
atan2(y, x)
atan(y/x)
Symbol('y')
atan2(y, x)
atan2(y, x, evaluate=False)
Symbol("u", positive=True)
atan2(0, u)
Symbol("u", negative=True)
atan2(0, u)
atan2(y, oo)
atan2(y, -oo)
Heaviside(re(y)
atan2(y, x)
rewrite(log)
log((x + I*y)
sqrt(x**2 + y**2)
atan2(0, 0)
atan2(y, x)
arg(x + I*y)
ex.subs({x:2, y:3})
rewrite(arg)
ex.subs({x:2, y:3*I})
rewrite(arg)
log(sqrt(5)
ex.subs({x:2*I, y:3})
rewrite(arg)
log(sqrt(5)
ex.subs({x:2*I, y:3*I})
rewrite(arg)
atan(Rational(2, 3)
atan(Rational(3, 2)
symbols('i', imaginary=True)
symbols('r', real=True)
atan2(i, r)
e.rewrite(arg)
log(abs(I*i + r)
sqrt(abs(i**2 + r**2)
arg((I*i + r)
sqrt(i**2 + r**2)
assert (e - rewrite)
subs(reps)
equals(0)
atan2(0, x)
rewrite(atan)
Piecewise((pi, re(x)
Ne(x, 0)
atan2(0, r)
rewrite(atan)
Piecewise((pi, r < 0)
Ne(r, 0)
atan2(0, i)
rewrite(atan)
atan2(0, r + i)
rewrite(atan)
Piecewise((pi, r < 0)
atan2(y, x)
rewrite(atan)
atan(y/(x + sqrt(x**2 + y**2)
Ne(y, 0)
re(x)
re(x)
Ne(im(x)