[sympy] NameError with nsolve

2009-07-31 Thread New2Sympy
Hi All, I am trying to get the Real root as shown below and keep getting a NameError. Any suggestions? I am using python 2.6.2 and sympy 0.6.5. The solution should be: a=0.31883011387319 >>> from sympy import Symbol, nsolve >>> a=Symbol('a') >>> f1=1/(0.001+a)**3-6/(0.9-a)**3 >>> print nsolv

[sympy] Polynomial Decompose Error for Quartics+Cubics

2009-07-31 Thread Mateusz Paprocki
Hi, On Thu, Jul 30, 2009 at 10:54:17AM -0600, Aaron S. Meurer wrote: > How long will it be until this polys module comes out? Will it be > before the end of the summer? > lets say on Monday preliminary version should be ready. -- Mateusz signature.asc Description: This is a digitally sig

[sympy] Re: General questions about the structure of SymPy

2009-07-31 Thread Marco
Thank you for this - I am studying it and it definitely has some of the flavour of what i'm thinking of. Once I understand it better I can say more. On Jul 30, 10:47 am, Alan Bromborsky wrote: > Marco wrote: > > I was very impressed by the description of SymPy here: > > >http://www.euroscipy.or

[sympy] Re: General questions about the structure of SymPy

2009-07-31 Thread Marco
Hi Ondrej, Thanks for your message and for your original talk. Let me just make a couple of quick comments and I'll try to be more complete later. It is not clear to me how the object representing a vector space should be set up. But something like what you suggest seems right. For example: 1

[sympy] Re: General questions about the structure of SymPy

2009-07-31 Thread Aaron S. Meurer
On Jul 31, 2009, at 9:49 AM, Marco wrote: > > Hi Ondrej, > > Thanks for your message and for your original talk. Let me just make a > couple of quick comments and I'll try to be more complete later. > > It is not clear to me how the object representing a vector space > should be set up. But som

[sympy] Re: support for divergent sums?

2009-07-31 Thread Phillip M. Feldman
That would be much nicer! Phillip > Maybe the sum could return oo immediately. > > Ondrej --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To

[sympy] Re: General questions about the structure of SymPy

2009-07-31 Thread Marco
Hi Aaron, The Set class is important to have as a master class for all kinds of other classes which should exist, such as Group, Field, Vector space, Algebra, etc. As it is in Category theory. A Python set may indeed be a good place to start, but as you suggest, it would only be a finite set of

[sympy] Re: General questions about the structure of SymPy

2009-07-31 Thread Aaron S. Meurer
On Jul 31, 2009, at 8:42 PM, Marco wrote: > > Hi Aaron, > > The Set class is important to have as a master class for all kinds of > other classes which should exist, such as Group, Field, Vector space, > Algebra, etc. As it is in Category theory. > > A Python set may indeed be a good place to s

[sympy] Re: support for divergent sums?

2009-07-31 Thread Aaron S. Meurer
It is because it isn't implemented. You can look in sympy/comcrete/ summations.py at eval_sum_symbolic() to see what is implemented. If you want to implement it, feel free to send in a patch. Either way, you should create an issue for it, if there isn't one already. By the way, Sum with a