Re: [sage-devel] Re: Test the "binomial" function in an expression

2010-10-07 Thread Francois Maltey
dagss wrote : op = y.operator # so op == cos if op == cos : ... # this test is fine, not the next one Now I want to test an expression with the binomial function call. y = binomial (3*x, x)# is fine op = y.operator() # is also fine Why is there a () here, but not in the previou

Re: [sage-devel] Is trac down again?

2010-10-07 Thread William Stein
Hi, Mike Hansen and I were testing a new database server [1] unrelated to trac, and got something slightly wrong in the apache config. It's fixed now. Thanks for reporting. [1] http://db.modform.org/ -- William On Thu, Oct 7, 2010 at 6:40 PM, Dr. David Kirkby wrote: > Whatever ticket I pick

Re: [sage-devel] Is trac down again?

2010-10-07 Thread Mike Hansen
It should be up now. --Mike On Thu, Oct 7, 2010 at 6:40 PM, Dr. David Kirkby wrote: > Whatever ticket I pick, I get the error message > > "Not Found > The requested URL was not found on the server. > If you entered the URL manually please check your spelling and try again." > > e.g. http://trac.

[sage-devel] Is trac down again?

2010-10-07 Thread Dr. David Kirkby
Whatever ticket I pick, I get the error message "Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again." e.g. http://trac.sagemath.org/sage_trac/ticket/10092 Dave -- To post to this group, send an email to sage-devel@g

[sage-devel] Re: Test the "binomial" function in an expression

2010-10-07 Thread dagss
On Oct 7, 10:39 pm, Francois Maltey wrote: > Hello, > > I play with expressions, and transform sin(x) to (exp(i*x)-exp(-i*x))/2. > > So I use a lot of test as > > var ('x') > y = cos(x)      # or any other expression" > op = y.operator   # so op == cos > if op == cos : ...  # this test is fine, no

[sage-devel] Test the "binomial" function in an expression

2010-10-07 Thread Francois Maltey
Hello, I play with expressions, and transform sin(x) to (exp(i*x)-exp(-i*x))/2. So I use a lot of test as var ('x') y = cos(x) # or any other expression" op = y.operator # so op == cos if op == cos : ... # this test is fine, not the next one else : ... Now I want to test an expression

Re: [sage-devel] sage crashes on calculating roots of a polynom

2010-10-07 Thread Justin C. Walker
On Oct 7, 2010, at 08:31 , Johannes wrote: > Hi list, > i got my sage crashed once again: > > sage: a,b,c= var('a,b,c') > sage: mprime = matrix([[01,b+1,2],[a+1,2,1],[2,1,c+1]]) > sage: cp = mprime.charpoly() > sage: cp.real_roots() This crashes consistently for me, on two systems, with two ver

[sage-devel] Re: patch for TLS

2010-10-07 Thread Jason Grout
On 10/7/10 1:53 PM, jason-s...@creativetrax.com wrote: (cc to both twisted and sage-devel lists) Hi all, In the Sage project (http://sagemath.org), we apply a patch to the Twisted version we distribute. I'd like to clean out our custom patches and push them upstream, if possible. So I have a co

Re: [sage-devel] Re: sage crashes on calculating roots of a polynom

2010-10-07 Thread Dr. David Kirkby
On 10/ 7/10 08:02 PM, daveloeffler wrote: For me it also crashes pretty consistently (using a build of Sage 4.6.alpha2 on 64-bit Ubuntu, which I know passes tests except some clearly irrelevant known issues). It looks to me like the error isn't in the real root finding code per se, but comes up w

[sage-devel] Re: sage crashes on calculating roots of a polynom

2010-10-07 Thread daveloeffler
For me it also crashes pretty consistently (using a build of Sage 4.6.alpha2 on 64-bit Ubuntu, which I know passes tests except some clearly irrelevant known issues). It looks to me like the error isn't in the real root finding code per se, but comes up when doing "change_ring(RR)" on any polynomia

[sage-devel] patch for TLS

2010-10-07 Thread jason-sage
(cc to both twisted and sage-devel lists) Hi all, In the Sage project (http://sagemath.org), we apply a patch to the Twisted version we distribute. I'd like to clean out our custom patches and push them upstream, if possible. So I have a couple of questions (I'm not terribly familiar with T

Re: [sage-devel] Re: sage crashes on calculating roots of a polynom

2010-10-07 Thread Johannes
im sorry, but I cant install valgrind because it does not compile with my glibc version. Ubuntu 10.4 is comming with glib 2.10 and valgrind builds just with glibc 2.2 up to 2.7 greatz Am 07.10.2010 19:38, schrieb maldun: > I would suggest to run sage with valgrind to get more information out > of

[sage-devel] Re: sage crashes on calculating roots of a polynom

2010-10-07 Thread mhampton
Those commands work for me on linux (ubuntu 9.10, intel i7 860) and OS X 10.6. Maybe you could run all the standard tests for sage (sage -t $SAGE_ROOT/devel/sage/sage), that might help narrow the problem down. -M. Hampton > On 7 Okt., 17:31, Johannes wrote: > > > Hi list, > > i got my sage cras

[sage-devel] Re: sage crashes on calculating roots of a polynom

2010-10-07 Thread maldun
I would suggest to run sage with valgrind to get more information out of your error messages. On 7 Okt., 17:31, Johannes wrote: > Hi list, > i got my sage crashed once again: > > sage: a,b,c= var('a,b,c') > sage: mprime = matrix([[01,b+1,2],[a+1,2,1],[2,1,c+1]]) > sage: cp = mprime.charpoly() > s

Re: [sage-devel] sage crashes on calculating roots of a polynom

2010-10-07 Thread Johannes
uname -a Linux neo 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux sage --version | Sage Version 4.5.3, Release Date: 2010-09-04 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsub

[sage-devel] sage crashes on calculating roots of a polynom

2010-10-07 Thread Johannes
Hi list, i got my sage crashed once again: sage: a,b,c= var('a,b,c') sage: mprime = matrix([[01,b+1,2],[a+1,2,1],[2,1,c+1]]) sage: cp = mprime.charpoly() sage: cp.real_roots() *** glibc detected *** python: free(): invalid pointer: 0x00541bfc *** === Backtrace: = /lib/tls/i686/cmov/lib

[sage-devel] Re: segfault while running sage

2010-10-07 Thread Jean-Pierre Flori
Hi, You can try Burcin patch which restores GiNaC original ordering and "should" fix your problem (http://sage.math.washington.edu/home/ burcin/ pynac/pynac_order.patch). You can *then* apply mine based on Burcin one to get a better (??) ordering for printing (http://perso.telecom-paristech.fr/~fl

[sage-devel] Re: segfault while running sage

2010-10-07 Thread Jean-Pierre Flori
Hi, You can try Burcin patch which restore GiNaC original ordering and "should" fix your problem (http://sage.math.washington.edu/home/burcin/ pynac/pynac_order.patch). You can *then* apply mine based on Burcin one to get a better (??) ordering for printing (http://perso.telecom-paristech.fr.fr/~f

[sage-devel] ANN: rmpoly-0.0.3 released

2010-10-07 Thread mario
Hello, version 0.0.3 of rmpoly is now available at the project website http://code.google.com/p/rmpoly/ rmpoly is a Python library for multivariate polynomials and series implemented as Python dicts with packed exponents as keys. With this version series operations are faster. The main optimizat