[sympy] How do i print running python code so that it can be evaluated without sympy? + shift operator issue

2009-09-01 Thread Tarjan
for example: x = Symbol('x') y = Symbol('y') print x & y >> prints: "And(x, y)" but i want "x & y" because & is the And operator! AND! why is the shift operator "<<" and ">>" overriden by Implies or how can i symbolicaly shift a number? Thank you in advance... Tarjan --~--~-~--~

[sympy] Re: How do i print running python code so that it can be evaluated without sympy? + shift operator issue

2009-09-01 Thread Ondrej Certik
On Tue, Sep 1, 2009 at 12:44 AM, Tarjan wrote: > > for example: > > x = Symbol('x') > y = Symbol('y') > print x & y > >>> prints: "And(x, y)" > > but i want "x & y" because & is the And operator! Create a new printer, or apply this patch: diff --git a/sympy/printing/str.py b/sympy/printing/str.p

[sympy] codenode 0.1 has been released!

2009-09-01 Thread Alex Clemesha
Hi all, codenode 0.1 has been released. The major non-code change is that codenode is now licensed under the BSD. We decided on this change because we want codenode to be accessible to a larger range of communities, especially the Scipy/Numpy/Sympy/Matplotlib communities. For recent code chan

[sympy] Re: codenode 0.1 has been released!

2009-09-01 Thread Neal Becker
Very cool! I'm trying it out. I chose 'new notebook', then 'python'. I get a blank page, but can't seem to enter any text into it. Maybe I missed something obvious. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[sympy] Re: codenode 0.1 has been released!

2009-09-01 Thread Gael Varoquaux
On Tue, Sep 01, 2009 at 01:18:56AM -0700, Alex Clemesha wrote: > The major non-code change is that codenode is now licensed under the BSD. Very nice. Thanks a lot for relicensing. I remember looking at codenode and thinking that it looked very nice. You should announce this on the IPython mailin

[sympy] Re: codenode 0.1 has been released!

2009-09-01 Thread Neal Becker
Ah, I see. codenode doesn't seem to work with konqueror. It's working with firefox (probably javascript issue). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to s

[sympy] Re: codenode 0.1 has been released!

2009-09-01 Thread Sebastian Haase
Hi Alex, looks really very nice. What is the recommend, i.e. quickest way to show off some nice (unicode) math term and some graph plots ? I thinking of some 1-3 lines just wet the appetite ... Regards, Sebastian Haase On Tue, Sep 1, 2009 at 2:19 PM, Neal Becker wrote: > > Ah, I see.  coden

[sympy] Solving a quartic equation with symbolic coefficients

2009-09-01 Thread Colin
Dear Sympy list, I'm trying to solve a quartic equation that comes from the numerical dispersion relation of a finite element method I am working on. If I type >>> solve(fn,w) I get [] which is not what I expected. It's a rather complicated expression so I have included it at the bottom of t

[sympy] Re: Solving a quartic equation with symbolic coefficients

2009-09-01 Thread Ondrej Certik
On Tue, Sep 1, 2009 at 6:44 AM, Colin wrote: > > Dear Sympy list, >  I'm trying to solve a quartic equation that comes from the numerical > dispersion relation of a finite element method I am working on. If I > type > solve(fn,w) > > I get > > [] > > which is not what I expected. It's a rathe

[sympy] Re: Solving a quartic equation with symbolic coefficients

2009-09-01 Thread Colin Cotter
Ah, I see after some more careful reading that solving quartics is not supported -- apologies. -cjc 2009/9/1 Colin : > Dear Sympy list, >  I'm trying to solve a quartic equation that comes from the numerical > dispersion relation of a finite element method I am working on. If I > type > sol

[sympy] Re: Solving a quartic equation with symbolic coefficients

2009-09-01 Thread Ondrej Certik
On Tue, Sep 1, 2009 at 8:32 AM, Colin Cotter wrote: > > Ah, I see after some more careful reading that solving quartics is not > supported -- apologies. But it will be supported hopefully soon. I know that Chris' branch works for numeric coefficients, but your equation actually has symbolic coeff