[sage-combinat-devel] Re: Iwahori Hecke algebra and Kazhdan-Lusztig patches

2010-01-06 Thread bump
Ok, glad to see that we agree. Actually, we want to accept a Coxeter group I think. I'll do that today. OK. What about the second question:      - Should we use q in QQ['q'] as default parameter for q_1? I don't know whether it would be worth it. It doesn't seem too much work for the user

Re: [sage-combinat-devel] Re: Iwahori Hecke algebra and Kazhdan-Lusztig patches

2010-01-06 Thread Nicolas M. Thiery
Dear Dan, On Wed, Jan 06, 2010 at 07:11:09AM -0800, bump wrote: Ok, glad to see that we agree. Actually, we want to accept a Coxeter group I think. I'll do that today. OK. Done an reposted. For the record: the category/free_module refactorization allowed to get rid of about 200

Re: [sage-combinat-devel] Re: Iwahori Hecke algebra and Kazhdan-Lusztig patches

2010-01-06 Thread Daniel Bump
For the record: the category/free_module refactorization allowed to get rid of about 200 lines out of 700. Those were mostly lines of code; I kept all the doctests. Now that you have seen how this works, how would you feel doing something similar for WeylCharacters? I agree that it should be

Re: [sage-combinat-devel] Re: Iwahori Hecke algebra and Kazhdan-Lusztig patches

2010-01-06 Thread Nicolas M. Thiery
On Wed, Jan 06, 2010 at 08:36:38AM -0800, Daniel Bump wrote: For the record: the category/free_module refactorization allowed to get rid of about 200 lines out of 700. Those were mostly lines of code; I kept all the doctests. Now that you have seen how this works, how would you feel doing

Re: [sage-combinat-devel] conflicts in sage-combinat tree due to a recent change

2010-01-06 Thread Nicolas M. Thiery
On Wed, Jan 06, 2010 at 05:56:07PM +0100, Sébastien Labbé wrote: Dear Nicolas, A recent changes created a conflict in the sage-combinat tree. It is either me or you...but I think it is you! Oops! Fixed! Sincèrement, Sébastien

Re: [sage-combinat-devel] Re: Iwahori Hecke algebra and Kazhdan-Lusztig patches

2010-01-06 Thread Anne Schilling
sage.algebras.iwahori (as it currently is) sage.combinat.iwahori (similar to sage.combinat.sf / ...) sage.combinat.root_system.iwahori (similar to sage.combinat.weyl_group) I debated where to put it. All three places seem logical. Anyone else feedback? I would say either

[sage-combinat-devel] Category Questions

2010-01-06 Thread Jason Bandlow
Hi Nicolas, I'm assuming the subject line got your attention. :) I've been working on a basic implementation of quasisymmetric functions (monomial and fundamental basis only, no Hopf operations) and I already have something that seems to work. Without using sage-combinat. Hooray! Three cheers

Re: [sage-devel] Pari builds 64-bit objects, but then links as 32-bit.

2010-01-06 Thread John Cremona
I suggest that you contact the pari developers about this. they may not have access to a Solaris machine, in which case it would be harder for them to help, but it is worth a try. email Karim Belabas and/or Bill Alombert. John 2010/1/6 Dr. David Kirkby david.kir...@onetel.net: Craig Citro

Re: [sage-devel] ATLAS problem on Open Solaris

2010-01-06 Thread Dr. David Kirkby
solarg wrote: On 01/ 6/10 03:24 AM, Dr. David Kirkby wrote: It's gone 2 AM here, and I'm not going to go into a deep debugging session, but if anyone has any ideas about the error below, let me know. Systems is a Sun Ultra 27, 3.333 GHz Xeon. Open Solaris 06/2009 gcc 4.4.2, configured to use

[sage-devel] short review : speeding up Linear Programming with a cheap trick

2010-01-06 Thread Nathann Cohen
Hello everybody !!! There is a patch meant to speed up the class MixedIntegerLinearProgram with a cheap trick : instead of using Sage's symbolic expressions to represent Linear Functions, I wrote a small class doing just that, inside of the file defining Linear Programs This patch only adds

[sage-devel] Re: Flint - mixing 32 and 64-bit

2010-01-06 Thread Dr. David Kirkby
Bill Hart wrote: Assuming FLINT_CC and FLINT_CPP are set correctly I don't see how it can go wrong. Bill. Bill, Looking in the *original* flint makefile I see this: library: $(FLINT_LIB) libflint.dylib: $(FLINTOBJ) $(CC) -single_module

Re: [sage-devel] ATLAS problem on Open Solaris

2010-01-06 Thread solarg
On 01/ 6/10 12:31 PM, Dr. David Kirkby wrote: Unfortunately, neither ATL_dnrm2_xp0yp0aXbX.c or /var/tmp//cctray_x.s actually exist on the machine, so its hard to file a useful bug report, when the temporary files which showed the error have gone. but did you try to restart the make command

[sage-devel] computing pi

2010-01-06 Thread John Cremona
According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer. The article does not mention software. How well would Sage do? John -- To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] graph development

2010-01-06 Thread Robert Miller
Hello, The long awaited patches to switch to using Cython-based graphs by default and to refector the way too long files in sage/graphs is here! If you plan on doing any development on graphs, please be aware of trac ticket #7634. Any work that is not based on the patches there will need to be

Re: [sage-devel] computing pi

2010-01-06 Thread William Stein
On Wed, Jan 6, 2010 at 5:58 AM, John Cremona john.crem...@gmail.com wrote: According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer.  The article does not mention software. How well would Sage do? Sage

Re: [sage-devel] computing pi

2010-01-06 Thread Paul Zimmermann
Dear all, Date: Wed, 6 Jan 2010 06:51:33 -0800 From: William Stein wst...@gmail.com On Wed, Jan 6, 2010 at 5:58 AM, John Cremona john.crem...@gmail.com wrote: According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion

Re: [sage-devel] Re: Sage 4.3.1.alpha1 released

2010-01-06 Thread John Cremona
On my 64-bit ubuntu I built 4.3.1.alpha1 from scratch and have just one failure: sage -t devel/sage/sage/misc/sagedoc.py ** File /home/jec/sage-4.3.1.alpha1/devel/sage/sage/misc/sagedoc.py, line 897: sage:

Re: [sage-devel] computing pi

2010-01-06 Thread Dr. David Kirkby
John Cremona wrote: According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer. The article does not mention software. How well would Sage do? John For something on the BBC web site, that is amazingly

Re: [sage-devel] computing pi

2010-01-06 Thread solarg
On 01/ 6/10 04:39 PM, Dr. David Kirkby wrote: John Cremona wrote: According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer. The article does not mention software. How well would Sage do? John For

[sage-devel] Re: spherical plot

2010-01-06 Thread Oscar Lazo
On 6 ene, 01:16, Jason Grout jason-s...@creativetrax.com wrote: I've made some comments athttp://trac.sagemath.org/sage_trac/ticket/7850 I saw your comments (i'll edit the ticket when i'm sure how many of those there should be). 1. To be consistent with the plotting functions, it would also

[sage-devel] Re: Fraction fields (multiplication, in particular)

2010-01-06 Thread Sebastian Pancratz
Dear all, I've now attached a patch for this to track ticket #7857. This includes using the Henrici (or Henrici--Brown) algorithms for the arithmetic operations +, -, *, and /, as well as for computing the (univariate) derivative in the case where applicable. If someone could please review

[sage-devel] Re: spherical plot

2010-01-06 Thread Jason Grout
Oscar Lazo wrote: On 6 ene, 01:16, Jason Grout jason-s...@creativetrax.com wrote: I've made some comments athttp://trac.sagemath.org/sage_trac/ticket/7850 I saw your comments (i'll edit the ticket when i'm sure how many of those there should be). 1. To be consistent with the plotting

[sage-devel] Re: graph development

2010-01-06 Thread Jason Grout
Robert Miller wrote: Hello, The long awaited patches to switch to using Cython-based graphs by default and to refector the way too long files in sage/graphs is here! If you plan on doing any development on graphs, please be aware of trac ticket #7634. Any work that is not based on the patches

Re: [sage-devel] computing pi

2010-01-06 Thread Tim Joseph Dumol
There's more information here: http://bellard.org/pi/pi2700e9/index.html On Wed, Jan 6, 2010 at 11:39 PM, Dr. David Kirkby david.kir...@onetel.netwrote: John Cremona wrote: According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion

[sage-devel] bug in qqbar.py

2010-01-06 Thread Håkan Granath
The code R.x = AA[] v1 = QQbar.polynomial_root(AA.common_polynomial(x^4 + 3*x^2 + 1),\ CIF(RIF(-RR(2.7018838812806391e-55), RR(2.5616917931009833e-55)),\ RIF(RR(1.6180339887498947), RR(1.6180339887498949 v2 = (2/3*v1^3 + 2/3*v1^2 + 4/3*v1 + 1).norm() sqrt(v2 - 1) yields the error

[sage-devel] sage -c slow

2010-01-06 Thread Ivan Andrus
I recently decided to make some OS X services which use sage e.g. to simplify an expression. So that I can select some text, and simplify it in place. This is ridiculously easy to do with Automator and sage -c, but the problem is that it's unbearably slow. Part of it may be Automator, but if

[sage-devel] Re: computing pi

2010-01-06 Thread Bill Hart
I think they needed about 7.2 TB of disk space. It would be possible to adapt the theta code we used for the trillion triangles problem to do this computation. But it would be a massive job. At present there is only multiplication, let alone square root. Bill. On Jan 6, 6:58 pm, Tim Joseph

Re: [sage-devel] bug in qqbar.py

2010-01-06 Thread William Stein
Thanks. This is now http://trac.sagemath.org/sage_trac/ticket/7859 On Wed, Jan 6, 2010 at 11:18 AM, Håkan Granath hakan.gran...@googlemail.com wrote: The code R.x = AA[] v1 = QQbar.polynomial_root(AA.common_polynomial(x^4 + 3*x^2 + 1),\  CIF(RIF(-RR(2.7018838812806391e-55),

Re: [sage-devel] sage -c slow

2010-01-06 Thread William Stein
On Wed, Jan 6, 2010 at 11:21 AM, Ivan Andrus darthand...@gmail.com wrote: I recently decided to make some OS X services which use sage e.g. to simplify an expression.  So that I can select some text, and simplify it in place.   This is ridiculously easy to do with Automator and sage -c, but

[sage-devel] Re: sage -c slow

2010-01-06 Thread Jason Grout
Ivan Andrus wrote: I recently decided to make some OS X services which use sage e.g. to simplify an expression. So that I can select some text, and simplify it in place. This is ridiculously easy to do with Automator and sage -c, but the problem is that it's unbearably slow. Part of it may be

Re: [sage-devel] bug in qqbar.py

2010-01-06 Thread John Cremona
2010/1/6 William Stein wst...@gmail.com: Thanks. This is now http://trac.sagemath.org/sage_trac/ticket/7859 On Wed, Jan 6, 2010 at 11:18 AM, Håkan Granath hakan.gran...@googlemail.com wrote: The code R.x = AA[] v1 = QQbar.polynomial_root(AA.common_polynomial(x^4 + 3*x^2 + 1),\  

[sage-devel] Re: spherical plot

2010-01-06 Thread Oscar Lazo
On 6 ene, 12:23, Jason Grout jason-s...@creativetrax.com wrote: That was an intentionally simple example to illustrate the problem. Here's something that is more nontrivial: def f(x,y):     if xpi:        return y     else:        return -y spherical_plot3d(f, (x,0,2*pi), (y,0,pi)) I

Re: [sage-devel] about sagenb-xx.spkg and translations

2010-01-06 Thread Tim Joseph Dumol
On Tue, Jan 5, 2010 at 2:36 PM, Dan Drake dr...@kaist.edu wrote: On Mon, 04 Jan 2010 at 12:43AM +0800, Tim Joseph Dumol wrote: Changes to the notebook should be made to the sagenb spkg found at http://nb.sagemath.org, and updated to the latest version at the repository (hg pull

Re: [sage-devel] graph development

2010-01-06 Thread David Joyner
At some point I want to implement several graph-theoretic constructions for work I hope to get funded for over the summer, so I will wait until this patch is incorporated. They are (1) the Havel-Hakimi construction (given a graphical degree sequence, construct a graph having those degrees) (2)

[sage-devel] Backslashes in docstring about latex use

2010-01-06 Thread Rob Beezer
In the docstring for latex.add_to_preamble() there is the doctest line: sage: latex.add_to_preamble(\\usepackage{xypic}) This is correct and useful at the Sage command line, but in the notebook when Sphinx-icated the escaped backslash displays as a single backslash, which would look sensible to

[sage-devel] Re: spherical plot

2010-01-06 Thread Jason Grout
Oscar Lazo wrote: On 6 ene, 12:23, Jason Grout jason-s...@creativetrax.com wrote: That was an intentionally simple example to illustrate the problem. Here's something that is more nontrivial: def f(x,y): if xpi: return y else: return -y spherical_plot3d(f, (x,0,2*pi),

Re: [sage-devel] sage -c slow

2010-01-06 Thread Ivan Andrus
On Jan 6, 2010, at 8:50 PM, William Stein wrote: On Wed, Jan 6, 2010 at 11:21 AM, Ivan Andrus darthand...@gmail.com wrote: I recently decided to make some OS X services which use sage e.g. to simplify an expression. So that I can select some text, and simplify it in place. This is

Re: [sage-devel] graph development

2010-01-06 Thread Minh Nguyen
Hi David, On Thu, Jan 7, 2010 at 7:27 AM, David Joyner wdjoy...@gmail.com wrote: At some point I want to implement several graph-theoretic constructions for work I hope to get funded for over the summer, so I will wait until this patch is incorporated. They are (1) the Havel-Hakimi

[sage-devel] sage_fortran and SAGE64

2010-01-06 Thread Dr. David Kirkby
Whenever sage_fortran builds an executable on my Open Solaris system, it is doing so as 32-bit. As far as I am aware, the problems with other packages building 32-bit objects have all been resolved or can be worked around by setting environment variables (like CFLAGS=-m64, CXXFLAGS=-m64 etc).

Re: [sage-devel] Re: updates to script for automatically generating release notes

2010-01-06 Thread Minh Nguyen
Hi kcrisman, On Wed, Jan 6, 2010 at 2:05 PM, kcrisman kcris...@gmail.com wrote: SNIP I would recommend that we still obtain Authors and Reviewers (that is, contributors) for other tickets closed, which are often nontrivial spkg updates or contributions to sagenb or sage that didn't happen to

Re: [sage-devel] graph development

2010-01-06 Thread David Joyner
On Wed, Jan 6, 2010 at 4:06 PM, Minh Nguyen nguyenmi...@gmail.com wrote: Hi David, On Thu, Jan 7, 2010 at 7:27 AM, David Joyner wdjoy...@gmail.com wrote: At some point I want to implement several graph-theoretic constructions for work I hope to get funded for over the summer, so I will wait

Re: [sage-devel] computing pi

2010-01-06 Thread Florent Hivert
Hi there, According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer. The article does not mention software. How well would Sage do? I once tried to find the shortest program which compute pi in

[sage-devel] sage-env - PLEASE review.

2010-01-06 Thread Dr. David Kirkby
I've put a LOT of working in trying to update 'sage-env' which is a little script run right at the start of the Sage build process. (I actually created some of it with William back in 2005, but have thought of many improvements since then). It needs reviewing, and I'd appreciate if a few

[sage-devel] Re: graph development

2010-01-06 Thread kcrisman
On Jan 6, 3:27 pm, David Joyner wdjoy...@gmail.com wrote: At some point I want to implement several graph-theoretic constructions for work I hope to get funded for over the summer, so I will wait until this patch is incorporated. They are (1) the Havel-Hakimi construction (given a graphical

[sage-devel] Octave and Sage

2010-01-06 Thread Dr. David Kirkby
Hi, you are probably aware of the GPL'ed Sage mathematics software http://www.sagemath.org/ which has a mission of creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab. What you you may not realise is that Sage has an interface to Octave, which one selects

[sage-devel] numpy problem - anyone got an idea what it might be ??

2010-01-06 Thread Dr. David Kirkby
I get the following problem when trying to make a 64-bit build of Sage on Open Solaris (Intel Xeon processor). I would add the build of ATLAS failed, so I had to just skip that. numpy-1.3.0.p2/src/MANIFEST.in numpy-1.3.0.p2/.hgtags Finished extraction

Re: [sage-devel] computing pi

2010-01-06 Thread Robert Bradshaw
On Jan 6, 2010, at 4:37 PM, Florent Hivert wrote: Hi there, According to this: http://news.bbc.co.uk/1/hi/technology/8442255.stm someone has just computed pi to 2.7 trillion digits on a desktop computer. The article does not mention software. How well would Sage do? I don't know of

Re: [sage-devel] Re: Fraction fields (multiplication, in particular)

2010-01-06 Thread Robert Bradshaw
On Jan 5, 2010, at 6:38 AM, Sebastian Pancratz wrote: For the purpose of making this a small and easy update, I think it would be nice to not introduce new flags, provided one can get away with it. I think the following policy might be OK: - For exact rings with a GCD implementation, all

[sage-devel] Something up with descent_two_isogeny.pyx ??

2010-01-06 Thread Dr. David Kirkby
I noticed a problem building sage 4.3.1.alpha1 on 't2' which I think is new. GCC is saying the flags are incorrect when compiling sage/schemes/elliptic_curves/descent_two_isogeny.c (see below). I was convinced that http://trac.sagemath.org/sage_trac/ticket/6595 would have allowed Sage to

Re: [sage-devel] Something up with descent_two_isogeny.pyx ??

2010-01-06 Thread Robert Miller
On Wed, Jan 6, 2010 at 11:08 PM, Dr. David Kirkby david.kir...@onetel.net wrote: I noticed a problem building sage 4.3.1.alpha1 on 't2' which I think is new. GCC is saying the flags are incorrect when compiling sage/schemes/elliptic_curves/descent_two_isogeny.c Is this related?

Re: [sage-devel] Re: generating a list of lambda functions

2010-01-06 Thread Robert Bradshaw
On Jan 5, 2010, at 1:47 PM, Jason Grout wrote: Dag Sverre Seljebotn wrote: Jason Grout wrote: I'm trying to generate a list of functions where each function returns its place in a list. Here is my code: cc=[(lambda: x) for x in [1..2]] However, I have: cc[0]() returns 2 (but I want it

Re: [sage-devel] Re: sage 4.3 compile error Unknown compiler flag: --incref-local-binop

2010-01-06 Thread Robert Bradshaw
On Jan 5, 2010, at 2:13 AM, Georg S. Weber wrote: Hmmm, I looked again through the scripts; perhaps it's worth trying directly ./sage -sh cd spkg ./install one more time, since the download of the 4.3 stuff seems to have been successful. If that (still) does not work, I'm running out of

Re: [sage-devel] Something up with descent_two_isogeny.pyx ??

2010-01-06 Thread Dr. David Kirkby
Robert Miller wrote: On Wed, Jan 6, 2010 at 11:08 PM, Dr. David Kirkby david.kir...@onetel.net wrote: I noticed a problem building sage 4.3.1.alpha1 on 't2' which I think is new. GCC is saying the flags are incorrect when compiling sage/schemes/elliptic_curves/descent_two_isogeny.c Is this

Re: [sage-devel] Re: MPC: Complex arithmetic with correct rounding

2010-01-06 Thread Robert Bradshaw
On Jan 4, 2010, at 6:29 AM, YannLC wrote: On 4 jan, 15:06, Jason Grout jason-s...@creativetrax.com wrote: I'm curious where you see this eventually going? (1) MPComplexField replaces ComplexField (2) MPComplexField provides an alternative to ComplexField (this is what you're proposing