Comment #68 on issue 1695 by andy.ter...@gmail.com: integral of a piecewise
function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
The real bug is _eval_integral can only handle numbers:
In [33]: Piecewise((3*x,x2), (0, True))._eval_interval(x,0, x)
Out[33]: 6
The
Comment #69 on issue 1695 by asmeurer: integral of a piecewise function
gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
Possibly related to issue 1950.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to this
Comment #1 on issue 1950 by andy.ter...@gmail.com: Piecewise((x, 0 x),
(0, Eq(x, 0)), (-x, x 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950
Hmm, I'll take a closer look.
The code is complicated because function is dependent on which intervals
Comment #70 on issue 1695 by andy.ter...@gmail.com: integral of a piecewise
function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
We should probably just check if the sym is in the interval and then just
return the Integral if it is. That is the approach
Comment #4 on issue 1950 by asmeurer: Piecewise((x, 0 x), (0, Eq(x, 0)),
(-x, x 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950
What? I don't understand what you mean.
--
You received this message because you are subscribed to the Google Groups
Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Integration WrongResult
New issue 2171 by asmeurer: oo eats Integral
http://code.google.com/p/sympy/issues/detail?id=2171
I haven't looked into why it does this yet, but for whatever reason oo eats
Integral(oo, x):
In
Comment #5 on issue 1950 by andy.ter...@gmail.com: Piecewise((x, 0 x),
(0, Eq(x, 0)), (-x, x 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950
If you ignore the subinterval (oo, Eq(x, 0) then the miss its the
contribution to the interval.
Comment #71 on issue 1695 by asmeurer: integral of a piecewise function
gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
Maple can generally handle Piecewise integrals. They have an algorithm
implemented, which I believe is the one from issue 2128 (or something
Comment #6 on issue 1950 by asmeurer: Piecewise((x, 0 x), (0, Eq(x, 0)),
(-x, x 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950
Measure zero intervals contribute nothing to an Integral. See the first
sentence of
Updates:
Cc: andy.terrel
Comment #19 on issue 2128 by andy.ter...@gmail.com: Implement more general
piecewise integration algorithm
http://code.google.com/p/sympy/issues/detail?id=2128
(No comment was entered for this change.)
--
You received this message because you are subscribed
Comment #72 on issue 1695 by andy.ter...@gmail.com: integral of a piecewise
function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
2128 is different. Piecewise should be able to handle that but probably
has errors handling the nested Piecewise. This issue is
Comment #9 on issue 1950 by andy.ter...@gmail.com: Piecewise((x, 0 x),
(0, Eq(x, 0)), (-x, x 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950
Sure Riemann implies Lebegue but we don't have a notion of sets built into
piecewise functions. That's
Comment #61 on issue 2084 by nicolas@gmail.com: limit(1+1/x, x, 0,
dir='-') fails
http://code.google.com/p/sympy/issues/detail?id=2084
Thanks, that's wxgeo : https://github.com/wxgeo.
I'm far from a git/github expert however, so I hope I won't break
anything ;)
--
You received this
13 matches
Mail list logo