Re: Issue 3226 in sympy: high-order derivatives should be cse-simplified

2012-04-18 Thread sympy
Comment #7 on issue 3226 by valerywe...@hotmail.com: high-order derivatives should be cse-simplified http://code.google.com/p/sympy/issues/detail?id=3226 what about calling cse before and after the call to diff? can cse substitute things like eg (comment 1) g(f(x)) + h(f(x))? -- You

Re: Issue 3226 in sympy: high-order derivatives should be cse-simplified

2012-04-18 Thread sympy
Comment #8 on issue 3226 by smi...@gmail.com: high-order derivatives should be cse-simplified http://code.google.com/p/sympy/issues/detail?id=3226 ([(x0, f(x))], [g(x0) + h(x0)]) -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to

Re: Issue 1400 in sympy: make cse optionally not to generate subexpressions that are only used once

2012-04-18 Thread sympy
Updates: Status: Fixed Comment #6 on issue 1400 by smi...@gmail.com: make cse optionally not to generate subexpressions that are only used once http://code.google.com/p/sympy/issues/detail?id=1400 (No comment was entered for this change.) -- You received this message because you are

Re: Issue 2571 in sympy: Regression in Integral.subs

2012-04-18 Thread sympy
Comment #26 on issue 2571 by smi...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 So could the rule be: 1) allow subs(x, u) always and it changes x to u everywhere 2) allow subs(f(x), f(x)) as long as x does not appear in any limit as a limit

Re: Issue 1017 in sympy: Integral(x) doesn't transform

2012-04-18 Thread sympy
Updates: Status: Fixed Comment #3 on issue 1017 by smi...@gmail.com: Integral(x) doesn't transform http://code.google.com/p/sympy/issues/detail?id=1017 Yes, it's right: x gets replaced with 2*x*(2*x).diff(x) -- You received this message because you are subscribed to the Google Groups

Re: Issue 2449 in sympy: improve transform

2012-04-18 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2449 by smi...@gmail.com: improve transform http://code.google.com/p/sympy/issues/detail?id=2449 It works out of the box now and inverse is thus deprecated: i = Integral(cos(w*t), (t, 0, 1)) i.transform(w*t, t) Integral(cos(t)/w, (t, 0, w))

Re: Issue 2846 in sympy: Integral.transform should allow a change to a different variable

2012-04-18 Thread sympy
Comment #6 on issue 2846 by smi...@gmail.com: Integral.transform should allow a change to a different variable http://code.google.com/p/sympy/issues/detail?id=2846 Hopefully it is less confusing now: i Integral(cos(t*w), (t, 0, 1)) i.transform(w*t, u) Integral(cos(u)/w, (u, 0, w)) --

Re: Issue 2846 in sympy: Integral.transform should allow a change to a different variable

2012-04-18 Thread sympy
Updates: Status: Fixed Comment #7 on issue 2846 by smi...@gmail.com: Integral.transform should allow a change to a different variable http://code.google.com/p/sympy/issues/detail?id=2846 (No comment was entered for this change.) -- You received this message because you are

Re: Issue 2449 in sympy: improve transform

2012-04-18 Thread sympy
Comment #4 on issue 2449 by smi...@gmail.com: improve transform http://code.google.com/p/sympy/issues/detail?id=2449 Note that a new variable can be used, too: i = Integral(cos(w*t), (t, 0, 1)) i.transform(w*t, u) Integral(cos(u)/w, (u, 0, w)) -- You received this message because you are

Re: Issue 987 in sympy: make Integral().subs() smarter

2012-04-18 Thread sympy
Comment #6 on issue 987 by smi...@gmail.com: make Integral().subs() smarter http://code.google.com/p/sympy/issues/detail?id=987 see issue 2571, too -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this group, send email to

Re: Issue 2571 in sympy: Regression in Integral.subs

2012-04-18 Thread sympy
Comment #27 on issue 2571 by smi...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 I tried to make the first change by inserting as the first line of Integral._eval_subs, the following: if old.is_Symbol and new.is_Symbol and not \