Re: [sympy] Surface_color

2013-05-20 Thread Stefan Krastanov
For examples see here (one of the notebooks in our examples folder) http://nbviewer.ipython.org/urls/raw.github.com/sympy/sympy/master/examples/beginner/plot_colors.ipynb Also, while our docs are not that good, plotting aesthetics are indeed described in `plotting.Plot`. Quoting from http://docs.

[sympy] real=True as argument to Function

2013-05-20 Thread Björn Dahlgren
Hi, Consider: In [12]: sympy.log(sympy.exp(sympy.Symbol('x',real=True))) Out[12]: x In [13]: sympy.log(sympy.exp(sympy.Symbol('x'))) Out[13]: log(exp(x)) In [14]: sympy.log(sympy.exp(sympy.Function('f')(sympy.Symbol('x' Out[14]: log(exp(f(x))) In [15]: sympy.log(sympy.exp(sympy.Function('f

Re: [sympy] real=True as argument to Function

2013-05-20 Thread Chris Smith
It doesn't appear that assumptions are stored with the function so you can't search for an applied function and test the assumptions of the unapplied function (e.g. f(x).func.is_real -- I don't understand what the following means: >>> Function('f', real=True).is_real But you can do one of two t

Re: [sympy] real=True as argument to Function

2013-05-20 Thread Julien Rioux
On Monday, 20 May 2013 07:44:47 UTC-4, smichr wrote: > > It doesn't appear that assumptions are stored with the function so you > can't search for an applied function and test the assumptions of the > unapplied function (e.g. f(x).func.is_real -- I don't understand what the > following means: >

Re: [sympy] General strategy for removing old assumptions

2013-05-20 Thread Tom Bachmann
Sorry for taking a while to respond. I have been away for the weekend. On 17.05.2013 04:13, Ondřej Čertík wrote: Hi, I came late to this discussion. I have a few questions. It seems that the consensus is to use global assumptions together with the "assuming" context manager. Let's take Pow as a

Re: [sympy] Releasing

2013-05-20 Thread Tom Bachmann
I'm happy to help after about 10 june. On 17.05.2013 02:40, Aaron Meurer wrote: Is anyone willing to commit some time over the next few weeks or so to help get a release out? If so, then I think we should do it. It will make things easier for Ondrej and I for our SciPy tutorial. But if no one

Re: [sympy] General strategy for removing old assumptions

2013-05-20 Thread Ondřej Čertík
Hi Tom, On Mon, May 20, 2013 at 8:40 AM, Tom Bachmann wrote: > Sorry for taking a while to respond. I have been away for the weekend. > > > On 17.05.2013 04:13, Ondřej Čertík wrote: >> >> Hi, >> >> I came late to this discussion. I have a few questions. It seems that >> the consensus is to use gl

Re: [sympy] solve() questions

2013-05-20 Thread Aaron Meurer
Is there a good reason for this, though? If we changed the solve subalgorithms to catch NotImplementedError and make them just give [] in that case, wouldn't solve(cos(x)*x - x**2, x) give [0], more or less automatically? Doesn't the algorithm look something like solutions = [] for factor in split

Re: [sympy] real=True as argument to Function

2013-05-20 Thread Aaron Meurer
Too bad the logic for logarithms doesn't seem to be in the new assumptions yet. If it were, you could just do refine(log(exp(f(x))), Q.real(f(x))). Aaron Meurer On Mon, May 20, 2013 at 8:22 AM, Julien Rioux wrote: > On Monday, 20 May 2013 07:44:47 UTC-4, smichr wrote: >> >> It doesn't appear tha

Re: [sympy] Re: Cyclic groups

2013-05-20 Thread Aaron Meurer
There is CyclicGroup in sympy.combinatorics.named_groups. If you are only interested in the elements, use FF(n). Technically, FF should be the cyclic finite field and hence only allow primes, but it doesn't actually do any type checking. Aaron Meurer On Sun, May 19, 2013 at 11:57 AM, Lucas Wil

[sympy] args invariant

2013-05-20 Thread Aaron Meurer
I think Matthew wanted to delay this discussion until the end of the summer, but I'd like to start it now while it is fresh on my mind. I am currently writing the expression manipulation part of the new tutorial (http://docs.sympy.org/tutorial/tutorial/manipulation.html), and this issue is central

[sympy] Google Summer of Code

2013-05-20 Thread Nishant Mandapaty
Hi, My name is Nishant and I am currently a senior in a high school near Chicago. I will be an undergrad at Berkeley next year. At this point, I want to major in Electrical Engineering and Computer Science. Last summer, I worked with the SuLab in the Scripps Research Institute and made a Googl

[sympy] Re: Google Summer of Code

2013-05-20 Thread Saurabh Jha
Hi Nishant, Welcome. First of all you have to setup the environment according to [1]. If you are searching for ideas to work on, [2] will help you get you started. I suppose projects on android are somewhat vague, so I encourage you to discuss this thing on the irc or here on the mailing list. If

Re: [sympy] Re: Google Summer of Code

2013-05-20 Thread Chris Smith
You may also wish to collaborate with David Li and Angus about parsing as both of them have experience and interest in this. -- 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