[sympy] sympy formul from string

2012-02-08 Thread janwillem
I would like to read a formula from text input and than process it further with sympy. I did not find a elegant solution for that. What works is the following work around using an intermediate script that is imported. I thought there might be a simpler and more elegant way. import sympy import stri

Re: [sympy] sympy formul from string

2012-02-08 Thread Chris Smith
On Wed, Feb 8, 2012 at 2:16 PM, janwillem wrote: > I would like to read a formula from text input and than process it > further with sympy. I did not find a elegant solution for that. What > works is the following work around using an intermediate script that > is imported. I thought there might b

[sympy] Re: sympy formul from string

2012-02-08 Thread janwillem
Thanks Chris, I must confess I overlooked sympyfy, however, there is a problem with symbols not being defined as is the case when using multi char names like in the below version. If resp is not defined the diff complains. What I need is that the student just enters a formula and is not bothered wi

Re: [sympy] Re: sympy formul from string

2012-02-08 Thread Chris Smith
On Wed, Feb 8, 2012 at 4:43 PM, janwillem wrote: > Thanks Chris, I must confess I overlooked sympyfy, however, there is a > problem with symbols not being defined as is the case when using multi > char names like in the below version. If resp is not defined the diff > complains. What I need is tha

[sympy] html in docs source files

2012-02-08 Thread Alan Bromborsky
I the source files (rst) for the docs how would one include an html file. I have examples from ipython notebook output that I wish to include in GA docs. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@goog

Re: [sympy] html in docs source files

2012-02-08 Thread Alan Bromborsky
On 02/08/2012 01:17 PM, Alan Bromborsky wrote: In the source files (rst) for the docs how would one include an html file. I have examples from ipython notebook output that I wish to include in GA docs. Sorry for the typo! -- You received this message because you are subscribed to the Google

[sympy] Request review for issue 1484

2012-02-08 Thread Marchael
I trying to solve this issue http://code.google.com/p/sympy/issues/detail?id=1484 And I submitted simple patch and ./bin/test output, you could find it there http://code.google.com/p/sympy/issues/detail?id=1484#c8 But reason I post my message here is one failed test: sympy/series/tests/test_ser

Re: [sympy] Request review for issue 1484

2012-02-08 Thread Chris Smith
> P.S. I'm new here, so what should I do if I'm need such kind of > review? I guess, creating new discussion in mail list not better way > for that. The easiest way to share your work for review is by setting up a github account (see https://github.com/sympy/sympy/wiki/Development-workflow ). /c

Re: [sympy] Request review for issue 1484

2012-02-08 Thread Aaron Meurer
If you need help with the git workflow, just ask here or on IRC, and we'll help you out. I should point out that if you are submitting this patch for the GSoC requirement, that we will require that the patch go through a GitHub pull request. And even if you're not, this is by far the best way to

[sympy] Google Code-In Completion

2012-02-08 Thread Aaron Meurer
Hi. The Google Code-In contest is officially over. A total of 176 tasks were completed for SymPy, by 64 students. A complete list of the completed tasks can be found at http://www.google-melange.com/gci/org/google/gci2011/sympy. Some highlights of the program: - Our webpage is now translated i

[sympy] Basic Boolean classes and the SingletonRegistry

2012-02-08 Thread Sean Vig
Hi, So in conjunction with a pull of mine to rework some of the Piecewise framework [1], I'm trying to implement classes to represent Booleans (True,False,None) that subclass Basic, as reported in this issue [2]. As suggested in the issue, I started with classes named like BooleanTrue (so as to no

Re: [sympy] Basic Boolean classes and the SingletonRegistry

2012-02-08 Thread Matthew Rocklin
There are a number of decent alternative names. "none" "NULL" come to mind. Additionally, SymPy tends to use None to stand for Maybe. Would there be any use for S.Maybe as an additional Boolean Singleton? On Wed, Feb 8, 2012 at 5:48 PM, Sean Vig wrote: > Hi, > > So in conjunction with a pull of

Re: [sympy] Basic Boolean classes and the SingletonRegistry

2012-02-08 Thread Aaron Meurer
I think it should be possible to get it to work. Anyway, S.None isn't a syntax error. I'll play with it later. Aaron Meurer On Feb 8, 2012, at 6:49 PM, Sean Vig wrote: Hi, So in conjunction with a pull of mine to rework some of the Piecewise framework [1], I'm trying to implement classes to r

Re: [sympy] Basic Boolean classes and the SingletonRegistry

2012-02-08 Thread Joachim Durchholz
Am 09.02.2012 02:48, schrieb Sean Vig: As a second note, when I asked Aaron about this or IRC, he mentioned it may not be possible at all to have something with an attribute named None, as would be the case for something like S.None going to BooleanNone. If this is the case, could this be hacked