Status: Accepted
Owner: plaes800
Labels: Type-Defect Priority-Medium Integration
New issue 1793 by plaes800: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Consider following integration:
x, y, z, t, c, A = symbols('xyztcA')
P1 = -A*E**(-z)
P2 = -A/(c*t)*(sin(x)**2 + co
Updates:
Blockedon: -sympy:2010 sympy:2010
Comment #20 on issue 1793 by asmeu...@gmail.com: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
With risch_integrate, the exp(-z) is again factored out:
In [83]: print integrate(c*(P2 - P1), t)
(A*c*t - A*(sin(x)**2 +
Updates:
Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low
Comment #1 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
But the result is still correct (you can verify by taking the derivative).
It just needs to be ex
Updates:
Labels: -Type-Enhancement -Priority-Low Type-Defect Priority-Medium
Comment #2 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
I was going to close this as invalid, but it looks like somewhere the new
polys broke it:
In [1]
Updates:
Cc: mattpap
Comment #3 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
The problem is the same as in issue 1576, i.e., applying this "fixes" it:
diff --git a/sympy/integrals/rationaltools.py
b/sympy/integrals/rationaltools.p
Comment #4 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Actually, the answer is probably no, at least partially, because the
integral from issue 1576 still fails with this fix.
By the way, my apologies to anyone who is subscribed to the
Comment #5 on issue 1793 by smichr: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
The commit titled "x-dependent portion of integrand separated out"
(b6dc47b) right
before 1766 - in branch 1766 at smichr's account at github doesn't
generate this
error and give
Comment #6 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
That's just because this integral happens to be really simple (A/t + B is
what it boils down to). A more general fix
is needed. For example, the integral in issue 1575 still fails i
Comment #7 on issue 1793 by smichr: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Perhaps you are right, but consider the following. Because the independent
and
dependent parts are not being separated, the integrand gets treated as an
add and
separated into indep a
Updates:
Status: Started
Comment #8 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Another example, which fails in master, polys9, my branch with the
above "patch", and 1766, but passes in
sympy-0.6.7:
In [1]: integrate((sin(y)*x**
Comment #9 on issue 1793 by smichr: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Thanks for the clarification of what the problem is. With that change then
the poly
division "poly, p = p.div(q)" actually does make the order of p less than q
and all
proceeds well
Comment #10 on issue 1793 by smichr: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
see issue 1961 for the separation of independent and dependent parts of the
integrand.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" gr
Updates:
Blockedon: 2010
Comment #11 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post
Updates:
Cc: asmeurer
Comment #12 on issue 1793 by smichr: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
Aaron, this is marked as blocked on 2010...but if it's not a problem in
2010 should I just delete this issue?
--
You received this message because you a
Comment #13 on issue 1793 by asmeurer: Integration failure
http://code.google.com/p/sympy/issues/detail?id=1793
No. I am doing like you and putting all of my fixes in one branch. The
difference is that my branch also has an official issue associated with it,
issue 2010, so whenever I fix s
15 matches
Mail list logo