Issue 3502 in sympy: Move _matches_commutative out of AssocOp

2012-11-12 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Core New issue 3502 by ronan.l...@gmail.com: Move _matches_commutative out of AssocOp http://code.google.com/p/sympy/issues/detail?id=3502 AssocOp._matches_commutative only makes sense for (and is only used by) Add and Mul, so

Re: Issue 3494 in sympy: plot_implicit fails for y - cos(pi/x)

2012-11-12 Thread sympy
Updates: Status: Fixed Comment #1 on issue 3494 by krastano...@gmail.com: plot_implicit fails for y - cos(pi/x) http://code.google.com/p/sympy/issues/detail?id=3494 fixed in https://github.com/sympy/sympy/pull/1639 -- You received this message because you are subscribed to the

Issue 3503 in sympy: Special values for Si are not implemented

2012-11-12 Thread sympy
Status: Valid Owner: CC: ness...@gmail.com Labels: Type-Defect Priority-Medium Integration New issue 3503 by asmeu...@gmail.com: Special values for Si are not implemented http://code.google.com/p/sympy/issues/detail?id=3503 In [44]: integrate(sin(x)/x, (x, 0, t)) Out[44]: Si(t) In

Re: Issue 3459 in sympy: Wrong result from expand() with noncommutatives

2012-11-12 Thread sympy
Updates: Status: Fixed Comment #4 on issue 3459 by smi...@gmail.com: Wrong result from expand() with noncommutatives http://code.google.com/p/sympy/issues/detail?id=3459 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Re: Issue 3460 in sympy: 'Infinity' object has no attribute 'q'

2012-11-12 Thread sympy
Updates: Status: Fixed Comment #1 on issue 3460 by smi...@gmail.com: 'Infinity' object has no attribute 'q' http://code.google.com/p/sympy/issues/detail?id=3460 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

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

2012-11-12 Thread sympy
Updates: Status: Fixed Comment #8 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 I think this is now fixed and should never return a symbol that is only used once.

Re: Issue 3501 in sympy: Missing partitions in sympy.utilities.iterables.multiset_partitions

2012-11-12 Thread sympy
Comment #2 on issue 3501 by smi...@gmail.com: Missing partitions in sympy.utilities.iterables.multiset_partitions http://code.google.com/p/sympy/issues/detail?id=3501 This is very pertinent issue since I just committed kbins which depends on this. I think this is different, because an

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

2012-11-12 Thread sympy
Updates: Status: Fixed Comment #8 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 I think this is now fixed and should never return a symbol that is only used once.

[sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Simon Clift
Hi folks, I have a straightforward, but tedious probability problem that I need to expand symbolically. Sympy's set and interval material is close, but I can't see how it would work in a multidimensional application. I've used Sympy for some fairly intricate PDE problems, but never for this

Re: [sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Matthew Rocklin
Short answer here is, I think, no. The short answer *should be* that sympy.stats should be able to handle all of this for you at a level higher than sets. It currently errs on this sort of question unfortunately. It wouldn't be hard to add though. The infrastructure is there. Sets handles this

Re: [sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Matthew Rocklin
Actually, we could give you a set of non-intersecting sets fairly easily. Your problem can be written as follows In [2]: s = Union(Interval(2, 5)*Interval(-oo, oo), Interval(-oo, oo)*Interval(3, 8)) In [4]: 2.complement.complement Out[4]: (((-∞, 2) ∪ (5, ∞)) × [3, 8]) ∪ ([2, 5] × ((-∞, 3) ∪ (8,

Re: [sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Matthew Rocklin
I'm not strictly convinced that that will work for all complex cases. You should double-check your first results. On Mon, Nov 12, 2012 at 11:50 AM, Matthew Rocklin mrock...@gmail.comwrote: * should be In [4]: s.complement.complement On Mon, Nov 12, 2012 at 11:50 AM, Matthew Rocklin

[sympy] Google Code-In

2012-11-12 Thread Aaron Meurer
So we were not accepted to Google Code-In this year. I want to thank to everyone who helped out with the application and task creation. Google only accepted ten mentoring organizations this year (as opposed to eighteen from last year), so the competition was a little higher. To any students out

Re: [sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Simon Clift
Hi Matthew, Thank you very much for the examples, I'll play around with them and see if I can cojole things into shape. I've just been looking through the core/set.py and stats/*.py code (and brushing up with the Measure Theory chapters from Friedman's Foundations of Modern Analysis; it's

Re: [sympy] Tedious probability expansion problem and set notation

2012-11-12 Thread Matthew Rocklin
I've just been looking through the core/set.py and stats/*.py code (and brushing up with the Measure Theory chapters from Friedman's Foundations of Modern Analysis; it's been a while). I didn't twig to the * operator creating multi-dimensional intervals. Naming the axes would be nice but

[sympy] Help with using Matrix on x.y pair

2012-11-12 Thread Shriramana Sharma
Hello. I'm new to SymPy. I am trying to implement an algorithm in Python for merging Bezier curves from this paper: http://cg.cs.tsinghua.edu.cn/~shimin/pdf/cad%202001_merging.pdf and in it (after spending quite some time in understanding the mathematics, as I am actually a humanities scholar) I

Re: [sympy] Help with using Matrix on x.y pair

2012-11-12 Thread Aaron Meurer
This looks like a manifestation of this bug: http://code.google.com/p/sympy/issues/detail?id=2663#c3. It's not clear why it is happening or how to fix it without seeing your definition if QPointF. Aaron Meurer On Nov 12, 2012, at 1:34 PM, Shriramana Sharma samj...@gmail.com wrote: Hello. I'm