Re: Issue 1002 in sympy: Symbol('') does not raise an Exception

2011-06-14 Thread sympy
Updates: Labels: NeedsReview smichr Comment #9 on issue 1002 by asmeurer: Symbol('') does not raise an Exception http://code.google.com/p/sympy/issues/detail?id=1002 '^[a-zA-Z_][a-zA-Z_0-9]*$' doesn't technically represent all valid Python identifiers, since it doesn't take into

Re: Issue 1433 in sympy: Integrate returns different result than from Matlab

2011-06-14 Thread sympy
Updates: Status: Invalid Comment #2 on issue 1433 by renato.c...@gmail.com: Integrate returns different result than from Matlab http://code.google.com/p/sympy/issues/detail?id=1433 Just tried this in master, Out[7] from above gives 10*3**(1/2)*I that evalf's to 17.3205080756888*I.

Re: Issue 2261 in sympy: (1/x).subs(x, 0) is nan instead of oo or zoo

2011-06-14 Thread sympy
Comment #4 on issue 2261 by renato.c...@gmail.com: (1/x).subs(x, 0) is nan instead of oo or zoo http://code.google.com/p/sympy/issues/detail?id=2261 In master, this gives oo now, which may be wrong according to issue 2096, but it's consistent with 1/S(0). I think we should add a test for

Re: Issue 2453 in sympy: abs(sympy.I * sympy.pi) evaluates incorrectly

2011-06-14 Thread sympy
Comment #3 on issue 2453 by renato.c...@gmail.com: abs(sympy.I * sympy.pi) evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2453 I digged a bit into this, and it seems related to assumptions not being evaluated correctly in line 252 of complexes.py (Abs.eval): if

Re: Issue 1951 in sympy: sympy.cot(0)=0 rather than infinity sympy 0.6.6

2011-06-14 Thread sympy
Updates: Status: Fixed Comment #2 on issue 1951 by renato.c...@gmail.com: sympy.cot(0)=0 rather than infinity sympy 0.6.6 http://code.google.com/p/sympy/issues/detail?id=1951 This was fixed in 09e072c1, now it returns zoo. -- You received this message because you are subscribed to

Re: Issue 1379 in sympy: documentation tests fail when run in interactive mode

2011-06-14 Thread sympy
Updates: Labels: -Priority-Medium Priority-Critical Comment #11 on issue 1379 by asmeurer: documentation tests fail when run in interactive mode http://code.google.com/p/sympy/issues/detail?id=1379 Can we get some more opinions on this? The question is whether we should import

Re: Issue 1379 in sympy: documentation tests fail when run in interactive mode

2011-06-14 Thread sympy
Updates: Cc: Vinzent.Steinberg ronan.l...@gmail.com ondrej.c...@gmail.com Comment #12 on issue 1379 by asmeurer: documentation tests fail when run in interactive mode http://code.google.com/p/sympy/issues/detail?id=1379 (No comment was entered for this change.) -- You received this

Issue 2489 in sympy: Integral of two delta functions evaluates incorrectly

2011-06-14 Thread sympy
Status: Accepted Owner: lazov...@gmail.com Labels: Type-Defect Priority-Medium New issue 2489 by lazov...@gmail.com: Integral of two delta functions evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2489 x, x_1, x_2 = symbols('x,x_1,x_2') f = x_2 * DiracDelta(x-x_2) *

Re: Issue 2489 in sympy: Integral of two delta functions evaluates incorrectly

2011-06-14 Thread sympy
Updates: Labels: WrongResult Comment #1 on issue 2489 by lazov...@gmail.com: Integral of two delta functions evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2489 (No comment was entered for this change.) -- You received this message because you are subscribed

Re: Issue 2489 in sympy: Integral of two delta functions evaluates incorrectly

2011-06-14 Thread sympy
Comment #2 on issue 2489 by julien.r...@gmail.com: Integral of two delta functions evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2489 Note that there's ambiguity in the expected result; it might as well return x*DiracDelta(x-x_1) -- You received this message because

Re: Issue 1379 in sympy: documentation tests fail when run in interactive mode

2011-06-14 Thread sympy
Comment #13 on issue 1379 by ondrej.c...@gmail.com: documentation tests fail when run in interactive mode http://code.google.com/p/sympy/issues/detail?id=1379 Well, I would really love to continue using sympy.test() and sympy.doctest(), that's why I implemented it. Just like numpy and

Re: Issue 1379 in sympy: documentation tests fail when run in interactive mode

2011-06-14 Thread sympy
Updates: Status: Accepted Labels: -Priority-Critical -Milestone-Release0.7.0 Priority-Medium Comment #14 on issue 1379 by asmeurer: documentation tests fail when run in interactive mode http://code.google.com/p/sympy/issues/detail?id=1379 OK, I reverted the removal commit in

Re: Issue 2489 in sympy: Integral of two delta functions evaluates incorrectly

2011-06-14 Thread sympy
Updates: Labels: Integration Comment #3 on issue 2489 by asmeurer: Integral of two delta functions evaluates incorrectly http://code.google.com/p/sympy/issues/detail?id=2489 (No comment was entered for this change.) -- You received this message because you are subscribed to the

Re: Issue 565 in sympy: integrate does not ommit null terms and simplify fails to handle them afterwards.

2011-06-14 Thread sympy
Updates: Labels: EasyToFix Comment #28 on issue 565 by smi...@gmail.com: integrate does not ommit null terms and simplify fails to handle them afterwards. http://code.google.com/p/sympy/issues/detail?id=565 The correct answer is now given (as confirmed with wolfram alpha):

Re: Issue 1804 in sympy: as_independent could respect non-commutatives

2011-06-14 Thread sympy
Updates: Status: Fixed Comment #5 on issue 1804 by smi...@gmail.com: as_independent could respect non-commutatives http://code.google.com/p/sympy/issues/detail?id=1804 (n1*n2*n1).as_independent(n2) (n1, n2*n1) -- You received this message because you are subscribed to the

Re: Issue 1296 in sympy: some problem with notcommutative algebra

2011-06-14 Thread sympy
Comment #4 on issue 1296 by smi...@gmail.com: some problem with notcommutative algebra http://code.google.com/p/sympy/issues/detail?id=1296 I get import sympy b,c=sympy.symbols(b,c,commutative=None) (b*c**2).conjugate() conjugate(b)*conjugate(c)**2 (b*c).conjugate()

Re: Issue 1384 in sympy: clean-up Symbol's assumptions

2011-06-14 Thread sympy
Comment #6 on issue 1384 by smi...@gmail.com: clean-up Symbol's assumptions http://code.google.com/p/sympy/issues/detail?id=1384 Vinzent, can this be closed? -- 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 1616 in sympy: Bug in subs

2011-06-14 Thread sympy
Updates: Labels: EasyToFix Comment #13 on issue 1616 by smi...@gmail.com: Bug in subs http://code.google.com/p/sympy/issues/detail?id=1616 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post

Re: Issue 2198 in sympy: gotcha addons

2011-06-14 Thread sympy
Updates: Labels: EasyToFix Comment #2 on issue 2198 by smi...@gmail.com: gotcha addons http://code.google.com/p/sympy/issues/detail?id=2198 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups sympy-issues group. To

Re: Issue 2343 in sympy: as_poly returns None

2011-06-14 Thread sympy
Updates: Status: WontFix Comment #6 on issue 2343 by smi...@gmail.com: as_poly returns None http://code.google.com/p/sympy/issues/detail?id=2343 There is nothing to fix. Issue 2346 hs been resolved and the problem above can be solved by making sure that equations are instantiated with

Re: Issue 2476 in sympy: nth order Derivative

2011-06-14 Thread sympy
Comment #1 on issue 2476 by smi...@gmail.com: nth order Derivative http://code.google.com/p/sympy/issues/detail?id=2476 If this worked, our current Derivative should work: Derivative(x**3, x, a) D(x**3, x, a) _.subs(a, 3) Traceback (most recent call last): File stdin,

Re: Issue 565 in sympy: integrate does not ommit null terms and simplify fails to handle them afterwards.

2011-06-14 Thread sympy
Comment #29 on issue 565 by renato.c...@gmail.com: integrate does not ommit null terms and simplify fails to handle them afterwards. http://code.google.com/p/sympy/issues/detail?id=565 What remains to be done? Write a test? -- You received this message because you are subscribed to the

Re: Issue 1811 in sympy: separatevars modifications

2011-06-14 Thread sympy
Updates: Labels: -NeedsBetterPatch NeedsReview smichr Comment #3 on issue 1811 by smi...@gmail.com: separatevars modifications http://code.google.com/p/sympy/issues/detail?id=1811 see https://github.com/sympy/sympy/pull/422 -- You received this message because you are subscribed to the

Re: Issue 2476 in sympy: nth order Derivative

2011-06-14 Thread sympy
Comment #2 on issue 2476 by asmeurer: nth order Derivative http://code.google.com/p/sympy/issues/detail?id=2476 The syntax would have to be different from the non-symbolic case, because D(x**3, x, a) already means the derivative of x**3 with respect to x and then with respect to a. I was

Issue 2490 in sympy: Create a Mod object for symbolic modulus (x % y)

2011-06-14 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Enhancement Priority-Medium New issue 2490 by asmeurer: Create a Mod object for symbolic modulus (x % y) http://code.google.com/p/sympy/issues/detail?id=2490 Having a Mod object for symbolic moduli (i.e., __mod__, or x % y) would be useful. For

Re: Issue 2476 in sympy: nth order Derivative

2011-06-14 Thread sympy
Comment #4 on issue 2476 by renato.c...@gmail.com: nth order Derivative http://code.google.com/p/sympy/issues/detail?id=2476 I like these ideas so far, I only disagreee at this point: Derivative(x**3, x, a).subs(a, 3) should just return Derivative(x**3, x, a) This would be inconsistent