Issue 1210 in sympy: move py.test imports into the try/except

2008-11-25 Thread codesite-noreply
Comment #3 on issue 1210 by fabian.seoane: move py.test imports into the try/except http://code.google.com/p/sympy/issues/detail?id=1210 http://groups.google.com/group/sympy-patches/browse_thread/thread/ec3ca5bb06113171 -- You received this message because you are listed in the owner or CC

Issue 1157 in sympy: implement Basic.simplify()

2008-11-25 Thread codesite-noreply
Comment #2 on issue 1157 by fabian.seoane: implement Basic.simplify() http://code.google.com/p/sympy/issues/detail?id=1157 I'm rather inclined to mark this as WontFix -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this

Issue 1210 in sympy: move py.test imports into the try/except

2008-11-25 Thread codesite-noreply
Comment #2 on issue 1210 by fabian.seoane: move py.test imports into the try/except http://code.google.com/p/sympy/issues/detail?id=1210 made some comments on this, it's also on my proposed branch -- You received this message because you are listed in the owner or CC fields of this issue,

Issue 1158 in sympy: regression: roots of polys

2008-11-25 Thread codesite-noreply
Updates: Owner: fabian.seoane Labels: Milestone-Release0.6.4 Comment #3 on issue 1158 by fabian.seoane: regression: roots of polys http://code.google.com/p/sympy/issues/detail?id=1158 I think that cubics=True should be the default, a novice would expect roots(poly, x) to

Issue 1218 in sympy: Can't access the planet feed

2008-11-25 Thread codesite-noreply
Status: Accepted Owner: fabian.seoane Labels: Type-Defect Priority-Medium New issue 1218 by fabian.seoane: Can't access the planet feed http://code.google.com/p/sympy/issues/detail?id=1218 I get a 404 not found error: http://code.google.com/p/sympy/atom.xml -- You received this message

Issue 1218 in sympy: Can't access the planet feed

2008-11-25 Thread codesite-noreply
Comment #1 on issue 1218 by Vinzent.Steinberg: Can't access the planet feed http://code.google.com/p/sympy/issues/detail?id=1218 Acknowledged. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your

Issue 1218 in sympy: Can't access the planet feed

2008-11-25 Thread codesite-noreply
Updates: Owner: ondrej.certik Comment #3 on issue 1218 by fabian.seoane: Can't access the planet feed http://code.google.com/p/sympy/issues/detail?id=1218 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this

Issue 1218 in sympy: Can't access the planet feed

2008-11-25 Thread codesite-noreply
Comment #5 on issue 1218 by fabian.seoane: Can't access the planet feed http://code.google.com/p/sympy/issues/detail?id=1218 the feed points to http://sympy.org/atom.xml , but I suppose the feed is located in http://planet.sympy.org/atom.xml . If this is correct, just edit the templates. --

Issue 1218 in sympy: Can't access the planet feed

2008-11-25 Thread codesite-noreply
Updates: Status: Fixed Comment #6 on issue 1218 by ondrej.certik: Can't access the planet feed http://code.google.com/p/sympy/issues/detail?id=1218 I got it now. This patch to /etc/planet.conf fixed it: # Link to the main page -link=http://sympy.org/ +link=http://planet.sympy.org/

Issue 1219 in sympy: .coeff() fails for -x/8 + x*y

2008-11-25 Thread codesite-noreply
Status: Accepted Owner: Labels: Type-Defect Priority-High Milestone-Release0.6.4 New issue 1219 by ondrej.certik: .coeff() fails for -x/8 + x*y http://code.google.com/p/sympy/issues/detail?id=1219 In [1]: p = -x/8 + x*y In [2]: p.coeff(x) Out[2]: 0 In [3]: p.coeff(-x) Out[3]: -y In [4]:

Issue 1220 in sympy: w = Wild(coeff) fails

2008-11-25 Thread codesite-noreply
Status: Accepted Owner: ondrej.certik Labels: Type-Defect Priority-High New issue 1220 by ondrej.certik: w = Wild(coeff) fails http://code.google.com/p/sympy/issues/detail?id=1220 from sympy.interactive import * p = -x*(S(1)/8-y) print p m = p.match(Wild(coeff, exclude=[x])*x+Wild(rest)) print

Issue 1219 in sympy: .coeff() fails for -x/8 + x*y

2008-11-25 Thread codesite-noreply
Updates: Blockedon: 1220 Comment #1 on issue 1219 by ondrej.certik: .coeff() fails for -x/8 + x*y http://code.google.com/p/sympy/issues/detail?id=1219 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this issue,

Issue 1221 in sympy: collect(-x/8 + x*y, -x) fails

2008-11-25 Thread codesite-noreply
Status: Accepted Owner: CC: mattpap Labels: Type-Defect Priority-High New issue 1221 by ondrej.certik: collect(-x/8 + x*y, -x) fails http://code.google.com/p/sympy/issues/detail?id=1221 In [1]: p = -x/8 + x*y In [2]: collect(-x/8 + x*y, x) Out[2]: -x⋅(1/8 - y) In [3]: collect(-x/8 + x*y,

Issue 1219 in sympy: .coeff() fails for -x/8 + x*y

2008-11-25 Thread codesite-noreply
Updates: Blockedon: 1221 Comment #2 on issue 1219 by ondrej.certik: .coeff() fails for -x/8 + x*y http://code.google.com/p/sympy/issues/detail?id=1219 The biggest problem is in Wild, see the issue 1220. Another minor problem is in collect, see the issue 1221. -- You received this

Issue 1221 in sympy: collect(-x/8 + x*y, -x) fails

2008-11-25 Thread codesite-noreply
Issue 1221: collect(-x/8 + x*y, -x) fails http://code.google.com/issues/detail?id=1221 This issue is now blocking issue 1219. See http://code.google.com/issues/detail?id=1219 -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred

Issue 1222 in sympy: numpy.array(Matrix()) dump and then load fails

2008-11-25 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1222 by willemjagter: numpy.array(Matrix()) dump and then load fails http://code.google.com/p/sympy/issues/detail?id=1222 'Clean' NumPy arrays are succesfully 'dump'ed to a file, e.g., this works: from sympy import

Issue 1222 in sympy: numpy.array(Matrix()) dump and then load fails

2008-11-25 Thread codesite-noreply
Comment #1 on issue 1222 by willemjagter: numpy.array(Matrix()) dump and then load fails http://code.google.com/p/sympy/issues/detail?id=1222 By a 'clean' NumPy array I mean that the construction command of the array doesn't contain SymPy's Matrix. However, note that even if Matrix is part

Re: [PATCH] move all py.test imports into try/except clause (#1210)

2008-11-25 Thread Fabian Seoane
I attach a reworked patch with my comments plus a small fix that let's you run python setup.py test even if you don't have pylib installed. 2008/11/23 Fabian Seoane [EMAIL PROTECTED] Ondrej Certik wrote: This is important, because the new py.test breaks sympy (import py works, but not the

Re: Implicit subs syntax like f(x=1, y=2)

2008-11-25 Thread Ondrej Certik
On Fri, Nov 21, 2008 at 5:40 PM, Brian Granger [EMAIL PROTECTED] wrote: 2) only allow the f(x=3), but do not use the hack, thus it will not work for x = Symbol(a) But this...will confuse users. I often use variable names that differ from the symbol. 3) allow both f(x=3) and use the hack.

Re: Implicit subs syntax like f(x=1, y=2)

2008-11-25 Thread Lance Larsen
I think it worth sending to the main mailing list one way or another. There has been a lot of discussion on the sympy-patches list which probably doesn't have the visibility of the sympy list. I think the problems with the different approaches have been covered here, so it is worth hearing what

[sympy] Re: numpy.array(Matrix()) dump/load fails

2008-11-25 Thread William Hunter
Hmmm, I was too hasty, this doesn't happen under 0.6.3 (which I thought I had). On Nov 25, 12:01 pm, William Hunter [EMAIL PROTECTED] wrote: Hi all; Please see code below: from numpy import array, load from sympy import Matrix # This doesn't work: a = array(Matrix([1]))

[sympy] Re: numpy.array(Matrix()) dump/load fails

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 11:32 AM, William Hunter [EMAIL PROTECTED] wrote: Hmmm, I was too hasty, this doesn't happen under 0.6.3 (which I thought I had). No problem. Btw, if you know how to solve the pickling problem with protocol 2, it'd be really cool. I have no idea so far:

[sympy] pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
How can i create one symbol such that the pprint and/or latex output will be merged special characters? What is the X such that: x= symbol('X') pprint(x) produce standard output equivilent that looks like$ \delta \theta_1 $ in tex aka the variation of theta subscript 1 Thanks Scott

[sympy] Re: Substitution syntax

2008-11-25 Thread Scott
How do you bend subs syntax to substitute and and array of symbols? a,b,x,y=symbols('a','b','x','y') q=a,b p=x,y f= a**2 + b ?? f.subs({p:q})?? x**2+y On Nov 11, 1:31 pm, llarsen [EMAIL PROTECTED] wrote: It seems like it would be nice where possible to make the sympy syntax as natural as

[sympy] Re: numpy.array(Matrix()) dump/load fails

2008-11-25 Thread William Hunter
Something is still not quite right though, look at this for example: In [1]: from sympy import Matrix, symbols, __version__ In [2]: from numpy import array, load In [3]: __version__ Out[3]: '0.6.3' In [4]: m = array(Matrix([1,2,3])).astype('d') In [5]: m Out[5]: array([[ 1.], [ 2.],

[sympy] Re: problem with coeff

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 4:38 PM, Zoho Vignochi [EMAIL PROTECTED] wrote: Hello: I am using sympy on debian unstable. The function coeff is not returning what I expect. Below is an example Python 2.5.2 console for SymPy 0.6.3 These commands were executed: from __future__ import division

[sympy] Re: Substitution syntax

2008-11-25 Thread Ondrej Certik
Hi Scott, On Tue, Nov 25, 2008 at 4:25 PM, Scott [EMAIL PROTECTED] wrote: How do you bend subs syntax to substitute and and array of symbols? a,b,x,y=symbols('a','b','x','y') q=a,b p=x,y f= a**2 + b ?? f.subs({p:q})?? x**2+y Are you talking about the current syntax, or the new

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 3:44 PM, Scott [EMAIL PROTECTED] wrote: How can i create one symbol such that the pprint and/or latex output will be merged special characters? What is the X such that: x= symbol('X') pprint(x) produce standard output equivilent that looks like$ \delta \theta_1 $

[sympy] Re: problem with coeff

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 5:51 PM, Ondrej Certik [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 4:38 PM, Zoho Vignochi [EMAIL PROTECTED] wrote: Hello: I am using sympy on debian unstable. The function coeff is not returning what I expect. Below is an example Python 2.5.2 console for

[sympy] Re: numpy.array(Matrix()) dump/load fails

2008-11-25 Thread Ondrej Certik
Hi On Tue, Nov 25, 2008 at 4:43 PM, William Hunter [EMAIL PROTECTED] wrote: Something is still not quite right though, look at this for example: In [1]: from sympy import Matrix, symbols, __version__ In [2]: from numpy import array, load In [3]: __version__ Out[3]: '0.6.3' In [4]: m =

[sympy] Re: numpy.array(Matrix()) dump/load fails

2008-11-25 Thread William Hunter
snip Could you please create an issue for it? This issue seems to be related: http://code.google.com/p/sympy/issues/detail?id=1176 Ondrej Done, it's issue 1222. -- wh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I meant deltatheta_1 or like \delta\theta_1 in latex and also omega_theta , omege subscript theta . Thanks Scott On Nov 25, 12:29 pm, Ondrej Certik [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 3:44 PM, Scott [EMAIL PROTECTED] wrote: How can i create one symbol such that the pprint

[sympy] How to Include documentation

2008-11-25 Thread Alan Bromborsky
I am documenting the new geometric algebra module and extended latex modules with the python-doc latex macros that come with the python distribution. When I commit my changes should I include postscript/pdf files generated from the latex files or just the latex files. Note that I found it

[sympy] Re: Substitution syntax

2008-11-25 Thread Scott
Either syntax , I currently use version 0.6.2 but will upgrade to 0.6.3 as soon as I find .deb file. My goal is to swap easy to type sympols with symbol that pprint well. V/R Scott On Nov 25, 12:27 pm, Ondrej Certik [EMAIL PROTECTED] wrote: Hi Scott, On Tue, Nov 25, 2008 at 4:25 PM, Scott

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Ondrej Certik
2008/11/25 Scott [EMAIL PROTECTED]: I meant deltatheta_1 or like \delta\theta_1 in latex I see. Is it just one Symbol? If so, then sympy currently cannot do that, but it can certainly be implemented quite easily by providing a custom Printer. and also omega_theta , omege subscript theta .

[sympy] Re: Substitution syntax

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 9:46 PM, Scott [EMAIL PROTECTED] wrote: On Nov 25, 12:27 pm, Ondrej Certik [EMAIL PROTECTED] wrote: Hi Scott, On Tue, Nov 25, 2008 at 4:25 PM, Scott [EMAIL PROTECTED] wrote: How do you bend subs syntax to substitute and and array of symbols?

[sympy] Re: How to Include documentation

2008-11-25 Thread Ondrej Certik
Hi Alan! On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky [EMAIL PROTECTED] wrote: I am documenting the new geometric algebra module and extended latex modules with the python-doc latex macros that come with the python distribution. When I commit my changes should I include postscript/pdf

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Alan Bromborsky
Ondrej Certik wrote: 2008/11/25 Scott [EMAIL PROTECTED]: I meant deltatheta_1 or like \delta\theta_1 in latex I see. Is it just one Symbol? If so, then sympy currently cannot do that, but it can certainly be implemented quite easily by providing a custom Printer. and also

[sympy] Re: How to Include documentation

2008-11-25 Thread Alan Bromborsky
Ondrej Certik wrote: Hi Alan! On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky [EMAIL PROTECTED] wrote: I am documenting the new geometric algebra module and extended latex modules with the python-doc latex macros that come with the python distribution. When I commit my changes should

[sympy] Re: How to Include documentation

2008-11-25 Thread Ondrej Certik
On Wed, Nov 26, 2008 at 12:54 AM, Alan Bromborsky [EMAIL PROTECTED] wrote: Ondrej Certik wrote: Hi Alan! On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky [EMAIL PROTECTED] wrote: I am documenting the new geometric algebra module and extended latex modules with the python-doc latex macros

[sympy] Re: How to Include documentation

2008-11-25 Thread mabshoff
On Nov 25, 3:56 pm, Ondrej Certik [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 12:54 AM, Alan Bromborsky [EMAIL PROTECTED] wrote: Ondrej Certik wrote: Hi Alan! On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky [EMAIL PROTECTED] wrote: I am documenting the new geometric algebra

[sympy] Re: How to Include documentation

2008-11-25 Thread Ondrej Certik
On Wed, Nov 26, 2008 at 12:59 AM, mabshoff [EMAIL PROTECTED] wrote: On Nov 25, 3:56 pm, Ondrej Certik [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 12:54 AM, Alan Bromborsky [EMAIL PROTECTED] wrote: Ondrej Certik wrote: Hi Alan! On Tue, Nov 25, 2008 at 9:49 PM, Alan Bromborsky

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I did not realize that the subscript characters come from a pool than the primary characters. pprint uses a limited subset of unicode and subscripts available in utf-8 format are limited compared to the tex markup language. My solution will be to choose from the list of available subscripts.

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I'll give your extended latex printer a go. My goal is in the theme of making pprint prettier and being able to have my script output match the conventions of the people I work with. Thanks On Nov 25, 6:54 pm, Alan Bromborsky [EMAIL PROTECTED] wrote: Ondrej Certik wrote: 2008/11/25 Scott

[sympy] Re: Substitution syntax

2008-11-25 Thread Scott
Does subs have a list of vector functionallity? f.subs(p,q) where p is a list and q is a list? I believe the answer is no. It sounds like subs only operates term wise. There perhaps an arraysubs or vsubs type command? V/R Scott On Nov 25, 6:21 pm, Ondrej Certik [EMAIL PROTECTED] wrote: On

[sympy] Re: Substitution syntax

2008-11-25 Thread Scott
My apologies, I think the dict(zip(p,q)) will solve my problem. Cheers, Scott On Nov 25, 8:24 pm, Scott [EMAIL PROTECTED] wrote: Does subs have a list of vector functionallity? f.subs(p,q) where p is a list and q is a list? I believe the answer is no. It sounds like subs only operates term