[sympy] ProductSet implementation

2014-03-26 Thread Amit Saha
Hello, I was going through how ProductSet is implemented and couple of things struck me as odd. First, the string/repr representation: s = FiniteSet(1, 2) t = FiniteSet(2, 3) p = ProductSet(s, t) p {1, 2} x {2, 3} IMO, a product set is a set (at least Wikipedia tells me so). So, shouldn't

[sympy] Widgets in SymPyGaama

2014-03-26 Thread SAHIL SHEKHAWAT
I want to add widgets in SymPyGamma so that user can: 1) Share a particular card or the entire result by creating a GIST as IPython Notebook. I have already done significant work on this issue, ( which i left in the middle due to my gsoc proposal ). So, i need to finish that so that it

[sympy] Re: ProductSet implementation

2014-03-26 Thread Sergey Kirpichev
On Wednesday, March 26, 2014 5:18:41 PM UTC+4, Amit Saha wrote: IMO, a product set is a set (at least Wikipedia tells me so). So, shouldn't it rather be the following? {(1,2), (1,3), (2,2), (2,3)} 1) It *is* a set: In [8]: isinstance(p, Set) Out[8]: True 2) Yes, maybe for FiniteSet -

Re: [sympy] Re: ProductSet implementation

2014-03-26 Thread Amit Saha
On Wed, Mar 26, 2014 at 11:59 PM, Sergey Kirpichev skirpic...@gmail.com wrote: On Wednesday, March 26, 2014 5:18:41 PM UTC+4, Amit Saha wrote: IMO, a product set is a set (at least Wikipedia tells me so). So, shouldn't it rather be the following? {(1,2), (1,3), (2,2), (2,3)} 1) It *is* a

Re: [sympy] Re: GSoC 2014: Regarding Plotting ideas.

2014-03-26 Thread Shashank Aggarwal
Hey. I modified my branch.It now calculates maximal span from all lines. Thanks for checking it out. -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sympy] Widgets in SymPyGaama

2014-03-26 Thread Ondřej Čertík
Hi Sahil, On Wed, Mar 26, 2014 at 7:33 AM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: I want to add widgets in SymPyGamma so that user can: 1) Share a particular card or the entire result by creating a GIST as IPython Notebook. I have already done significant work on this issue,

Re: [sympy] Widgets in SymPyGaama

2014-03-26 Thread SAHIL SHEKHAWAT
Thanks Ondřej for confirming! I am working on the gui right now. Will soon send a PR. Thanks!! On Wednesday, March 26, 2014 11:12:03 PM UTC+5:30, Ondřej Čertík wrote: Hi Sahil, On Wed, Mar 26, 2014 at 7:33 AM, SAHIL SHEKHAWAT sahilshe...@gmail.com javascript: wrote: I want to add

Re: [sympy] Re: ProductSet implementation

2014-03-26 Thread Aaron Meurer
If the set itself is unevaluated as a product, then it should print that way. The main concern with evaluating such sets automatically would be that they can get quite large compared to the size of the original sets. Aaron Meurer On Wed, Mar 26, 2014 at 9:01 AM, Amit Saha amitsaha...@gmail.com

Re: [sympy] Widgets in SymPyGaama

2014-03-26 Thread Aaron Meurer
Note that for the math, zooming is already supported directly in MathJax (right click on the math). Aaron Meurer On Wed, Mar 26, 2014 at 12:53 PM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: Thanks Ondřej for confirming! I am working on the gui right now. Will soon send a PR. Thanks!!

Re: [sympy] [gsoc] series expansion

2014-03-26 Thread Alexey U. Gudchenko
On 21.03.2014 21:23, deepak goel wrote: sorry its late i know here is my proposal https://github.com/sympy/sympy/wiki/GSoC-2014-Application-Deepak-Goel:-Asymptotic-Expansion i m late for pr too but would get them done by announcement date actually i was working on propasal and related papers

Re: [sympy] Widgets in SymPyGaama

2014-03-26 Thread SAHIL SHEKHAWAT
I am aware of the fact! Thanks @aaron for pointing that out. I want to embed all the pre-existing things which we are calculating anyway (or are a part of the languages which we are using like you pointed out), into a widget so that the user can have options to use the result in the way he thinks

Re: [sympy] Widgets in SymPyGaama

2014-03-26 Thread SAHIL SHEKHAWAT
Its really nice that you pointed it out! i really appreciate that everyone is helping me. Thanks @certik and @aaron On Thu, Mar 27, 2014 at 1:07 AM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: I am aware of the fact! Thanks @aaron for pointing that out. I want to embed all the

Re: [sympy] Re: ProductSet implementation

2014-03-26 Thread Matthew Rocklin
If you want the fully evaluated FiniteSet of pairs then call FiniteSeton the ProductSet. This works because ProductSets iterate through all of the elements. s = FiniteSet(1, 2) t = FiniteSet(2, 3) p = ProductSet(s, t) FiniteSet(p) {(1, 2), (1, 3), (2, 2), (2, 3)} On Wed, Mar 26, 2014 at

Re: [sympy] Regarding the topic of my Proposal

2014-03-26 Thread Kundan Kumar
Well Thanks Aaron for informing me about that. Though its little late as now I cant edit my proposal. But I went through the PR, method of implementation of some of system of ode have already been proposed and coded by Krastanov. Though, as you pointed out, it need some modifications and

[sympy] Should we allow external dependencies?

2014-03-26 Thread Matthew Rocklin
This has come up a few times recently. I'd like to bring this topic up for serious discussion. I have created an issue here https://github.com/sympy/sympy/issues/7339 -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and

Re: [sympy] Should we allow external dependencies?

2014-03-26 Thread Ondřej Čertík
On Wed, Mar 26, 2014 at 3:11 PM, Matthew Rocklin mrock...@gmail.com wrote: This has come up a few times recently. I'd like to bring this topic up for serious discussion. I have created an issue here https://github.com/sympy/sympy/issues/7339 I took the liberty to extend your issues with some

Re: [sympy] Should we allow external dependencies?

2014-03-26 Thread Matthew Rocklin
Awesome. Please consider the top space wiki space. On Wed, Mar 26, 2014 at 3:00 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: On Wed, Mar 26, 2014 at 3:11 PM, Matthew Rocklin mrock...@gmail.com wrote: This has come up a few times recently. I'd like to bring this topic up for serious