Re: [sympy] Do I have something more to do after my Pull requests?

2015-12-08 Thread Thomas Baruchel
Thank you to both Mateusz Paprocki and Ondřej Čertík, it looks like two of my Pull requests have already been merged after I sent a message here. May I assume you (Mateusz Paprocki) have some interest in identifying/recognizing/detecting numbers or sequences (which is the purpose of the new symp

Re: [sympy] Do I have something more to do after my Pull requests?

2015-12-08 Thread Ondřej Čertík
On Tue, Dec 8, 2015 at 2:21 AM, Thomas Baruchel wrote: > Thank you to both Mateusz Paprocki and Ondřej Čertík, > > it looks like two of my Pull requests have already been merged after I sent > a message here. > May I assume you (Mateusz Paprocki) have some interest in > identifying/recognizing/det

Re: [sympy] Is it possible to simplify x == 1 or x == 2 or x ==3 to x in [ 1, 2, 3 ] ?

2015-12-08 Thread Aaron Meurer
SymPy can represent each, but as far as I know, no functions exist to simplify one to the other. The representation of each would be like Or(Eq(x, 1), Eq(x, 2), Eq(x, 3)) Contains(x, FiniteSet(1, 2, 3)) And(Neq(x, 1), Neq(x, 2), Neq(x, 3)) Not(Contains(x, FiniteSet(1, 2, 3))) Contains is relati

Re: [sympy] float/int operation on Matrix?

2015-12-08 Thread Aaron Meurer
Use X.applyfunc(Integer), or X.applyfunc(round) if you want to round (Integer will truncate). Aaron Meurer On Mon, Dec 7, 2015 at 11:58 PM, Oyster wrote: > If we do not use enumeration, can we do float/int on every Matrix element? I > ask this because I want to show my result while round the flo

[sympy] SymPy at SciPy India, 2015

2015-12-08 Thread Sumith 1896
Hi, Greetings everybody. This mail is to notify you about SymPy's participation at SciPy India, 2015. As you might know SciPy India 2015 is scheduled on the 14th-16th of December. I will be present there. Some of the other contributors of SymPy in India may also be present. We have a hands-on

Re: [sympy] Re: Computer Science Capstone Projects at UCD

2015-12-08 Thread Jason Moore
Shivam and Ondrej, I met with Prof. Xin Liu yesterday to discuss these projects. She is going to list three projects for the class: Series Expansions, PyDy Viz, PyDy Website. She said that the students are typically most interested in creating "apps" and that finding the right group for the potent

Re: [sympy] Is it possible to simplify x == 1 or x == 2 or x ==3 to x in [ 1, 2, 3 ] ?

2015-12-08 Thread Simon
Aaron Meurer , thanks for help. 在 2015年12月9日星期三 UTC+8上午1:57:42,Aaron Meurer写道: > > SymPy can represent each, but as far as I know, no functions exist to > simplify one to the other. > > The representation of each would be like > > Or(Eq(x, 1), Eq(x, 2), Eq(x, 3)) > Contains(x, FiniteSet(1, 2,