[sage-devel] Re: Bug when taking complement of bipartite graph?

2011-12-15 Thread Rob Beezer
On Dec 15, 12:36 am, Nathann Cohen wrote: > Well, I'd vote for the solution : "do not return BipartiteGraph instances > when not explicitely asked", as is the case here. That sounds good to me too. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this g

[sage-devel] Re: Missing digits in numerical_approx

2011-12-15 Thread Sébastien Labbé
> Somebody needs to open a ticket. http://trac.sagemath.org/sage_trac/ticket/12163 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.

[sage-devel] Re: Anyone developing Differential System and Cartan--Kaehler in sage?

2011-12-15 Thread adsmith
On Dec 15, 8:48 am, Jason Grout wrote: > On 12/15/11 7:38 AM, adsmith wrote: > > I'm not an expert in the area, but > ishttp://www.sagemath.org/doc/reference/tensor.htmluseful to you?  You > can see fromhttp://trac.sagemath.org/sage_trac/ticket/9650some of the > people involved in that code. > >

[sage-devel] planet.sagemath.org down for a while

2011-12-15 Thread William Stein
Hi, I moved everything off of the "sagemath" virtual machine, except for planet.sagemath.org, which I hadn't got around to. This afternoon the sagemath virtual machine mysteriously stopped working, and I can't get it to work. So planet.sagemath.org is going to be down for a while until this gets

Re: [sage-devel] Current Sage line count?

2011-12-15 Thread William Stein
On Thu, Dec 15, 2011 at 4:27 AM, John Cremona wrote: > What's the latest line count for Sage, meaning all python & cython > files (but none of the spgs)?  I'm guessing someone has a script to do > this count. I just did the following: (1) "sudo apt-get install sloccount". (2) "cp -rv SAGE_ROOT/d

Re: [sage-devel] Numeric evaluation of error function erf (#11948) needs review

2011-12-15 Thread Jeroen Demeyer
On 2011-12-15 23:35, D. S. McNeil wrote: > On Thu, Dec 15, 2011 at 5:29 PM, Jeroen Demeyer > wrote: >> This patch to properly evaluate erf() still needs review, it should >> apply cleanly to sage-4.8.alpha2 or later: > > There's also http://trac.sagemath.org/sage_trac/ticket/1173 with a > differ

Re: [sage-devel] Numeric evaluation of error function erf (#11948) needs review

2011-12-15 Thread D. S. McNeil
On Thu, Dec 15, 2011 at 5:29 PM, Jeroen Demeyer wrote: > This patch to properly evaluate erf() still needs review, it should > apply cleanly to sage-4.8.alpha2 or later: There's also http://trac.sagemath.org/sage_trac/ticket/1173 with a different approach. I'm fine with letting #1173 fade in fav

Re: [sage-devel] Numeric evaluation of error function erf (#11948) needs review

2011-12-15 Thread Jeroen Demeyer
This patch to properly evaluate erf() still needs review, it should apply cleanly to sage-4.8.alpha2 or later: On 2011-10-29 19:53, Jeroen Demeyer wrote: > Following a question on sage-support, I created a patch to enable the > numeric evaluation of erf() at complex arguments and with arbitrary >

Re: [sage-devel] Re: ERRORs before traceback

2011-12-15 Thread Michael Orlitzky
On 12/15/2011 12:29 PM, Simon King wrote: Hi Michael, On 15 Dez., 18:18, Michael Orlitzky wrote: I was going to write a doctest for #6777[1], but the traceback throws a few errors before the exception: sage: RealField(300)['x']([ ComplexField(300).gen() ]) ERROR: An unexpected error o

[sage-devel] Re: ERRORs before traceback

2011-12-15 Thread Simon King
Hi Michael, On 15 Dez., 18:18, Michael Orlitzky wrote: > I was going to write a doctest for #6777[1], but the traceback throws a > few errors before the exception: > >    sage: RealField(300)['x']([ ComplexField(300).gen() ]) >    ERROR: An unexpected error occurred while tokenizing input >    Th

[sage-devel] ERRORs before traceback

2011-12-15 Thread Michael Orlitzky
I was going to write a doctest for #6777[1], but the traceback throws a few errors before the exception: sage: RealField(300)['x']([ ComplexField(300).gen() ]) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message

Re: [sage-devel] Anyone developing Differential System and Cartan--Kaehler in sage?

2011-12-15 Thread David Roe
I also work in math far from the Cartan-Kähler theorem, but I'm enthusiastic about having more support for differential forms in Sage. David On Thu, Dec 15, 2011 at 06:38, adsmith wrote: > Hi everyone, > > I am in need of a package to carry out computations in exterior > algebra, differential ide

[sage-devel] Re: Anyone developing Differential System and Cartan--Kaehler in sage?

2011-12-15 Thread Jason Grout
On 12/15/11 7:38 AM, adsmith wrote: Hi everyone, I am in need of a package to carry out computations in exterior algebra, differential ideals, and various aspects of the Cartan-- Kähler theorem. I have used Jeanne Clelland's "Cartan" package for Maple[1] extensively, and I have been thinking ab

[sage-devel] Re: matplotlib test images (and spkg size)

2011-12-15 Thread Jason Grout
On 12/15/11 3:38 AM, Jeroen Demeyer wrote: On 2011-12-15 06:03, Jason Grout wrote: [X] No, don't ship the test images with the new spkg and document the fact that images aren't shipped very clearly in SPKG.txt Done at http://trac.sagemath.org/sage_trac/ticket/11915 Jason -- To post to thi

[sage-devel] Anyone developing Differential System and Cartan--Kaehler in sage?

2011-12-15 Thread adsmith
Hi everyone, I am in need of a package to carry out computations in exterior algebra, differential ideals, and various aspects of the Cartan-- Kähler theorem. I have used Jeanne Clelland's "Cartan" package for Maple[1] extensively, and I have been thinking about reproducing it in sage (with Jeann

[sage-devel] Re: Bug when taking complement of bipartite graph?

2011-12-15 Thread Jason Grout
On 12/15/11 2:36 AM, Nathann Cohen wrote: However, in either case it seems very inefficient to create all of the original edges, just to turn around and destroy them all right away. I'm not finding a method that converts a BipartiteGraph into a Graph with very little overhead. May

[sage-devel] Re: Mathematica/Magma/Sage dictionaries ?

2011-12-15 Thread kcrisman
> > > However, if you have remote access to a machine with Mathematica > > installed, you could do as above by installing Sage on it. > > > Could Rajeev even set the 'math' script on his home computer in such a > > way that it called a remote installation of Mma?  (Which probably > > violates the

[sage-devel] Re: matplotlib test images (and spkg size)

2011-12-15 Thread kcrisman
On Dec 15, 4:38 am, Jeroen Demeyer wrote: > On 2011-12-15 06:03, Jason Grout wrote:> [X] No, don't ship the test images > with the new spkg +1, for now > and document the fact that images aren't shipped very clearly in SPKG.txt And document very clearly how one *would* test them if we ever had

[sage-devel] Current Sage line count?

2011-12-15 Thread John Cremona
What's the latest line count for Sage, meaning all python & cython files (but none of the spgs)? I'm guessing someone has a script to do this count. I am preparing a 30-minute talk on "Sage as a research tool" for Sage Days 35 (which starts on Saturday here in Warwick). John -- To post to this

Re: [sage-devel] Re: timeit for mathematicians

2011-12-15 Thread Harald Schilly
On Thu, Dec 15, 2011 at 11:50, AndrewVSutherland wrote: > e.g. by including some ``warm-up" code that runs > before you start timing that's a good idea! next to the histogram i did above, i also want to plot the time-series. this should show this or other trends. h -- To post to this group, se

[sage-devel] Re: timeit for mathematicians

2011-12-15 Thread AndrewVSutherland
Just to amplify what Bill said below, most CPUs these days have some sort of power-saving mode that will be in use by default. This means that if the CPU is not fully loaded when you start your test, it will take some time (typically not more than a few seconds) for it to ramp up to full speed (ir

Re: [sage-devel] matplotlib test images (and spkg size)

2011-12-15 Thread Jeroen Demeyer
On 2011-12-15 06:03, Jason Grout wrote: > [X] No, don't ship the test images with the new spkg and document the fact that images aren't shipped very clearly in SPKG.txt -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-de

[sage-devel] Re: Bug when taking complement of bipartite graph?

2011-12-15 Thread Nathann Cohen
> > However, in either case it seems very inefficient to create all of the > original edges, just to turn around and destroy them all right away. > I'm not finding a method that converts a BipartiteGraph into a Graph > with very little overhead. Maybe the present example illustrates the > need fo

Re: [sage-devel] matching polynomial of a graph

2011-12-15 Thread Nathann Cohen
The problem is always the same : some Sage graphs are created as instances of BipartiteGraph (*), and even though some methods may not need to modify it they copy it and work on the copy, or well The point is : it must be the 5th bug report I see whose answer is "You used a BipartiteGraph