[sage-devel] Re: Statistics in Sage

2009-09-16 Thread lgautier
On Sep 17, 6:44 am, Jason Grout wrote: > Jason Grout wrote: > > Carlo Hamalainen wrote: > >> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout > >> wrote: > >>> R has a C interface for lots of functions (like the distribution > >>> functions that I wanted today).  I imagine that a stats module woul

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
2009/9/16 Robert Dodier : > > William Stein wrote: > >> so if you could say more about what you might >> want such a "nice module" to do, it would be very useful! > > Well, in order to have some functionality above and beyond > what R or other numerical systems offer, I think you should > emphasiz

[sage-devel] Re: Update of readline to 6.0 needs testing

2009-09-16 Thread Minh Nguyen
On Wed, Sep 16, 2009 at 6:59 PM, Dr. David Kirkby wrote: > Perhaps others can check it out. I have been having trouble building Sage 4.1.2.alpha1 from scratch with readline 6.0 on openSUSE 11.1. The problem is due to the variable OVERWRITE_READLINE in spkg-install, which is set to true on ope

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Robert Dodier
William Stein wrote: > so if you could say more about what you might > want such a "nice module" to do, it would be very useful! Well, in order to have some functionality above and beyond what R or other numerical systems offer, I think you should emphasize symbolic computation. Wrapping numeric

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Robert Dodier
Carlo Hamalainen wrote: > So what do you think about this patch? > http://trac.sagemath.org/sage_trac/ticket/6827 Some random comments on http://trac.sagemath.org/sage_trac/attachment/ticket/6827/probability_distribution.patch Feel free to ignore this ranting. 757 def cum_distri

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
2009/9/16 Jason Grout : > > Carlo Hamalainen wrote: >> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout >> wrote: >>> R has a C interface for lots of functions (like the distribution >>> functions that I wanted today).  I imagine that a stats module would use >>> Cython to call the C functions for th

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
Jason Grout wrote: > Carlo Hamalainen wrote: >> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout >> wrote: >>> R has a C interface for lots of functions (like the distribution >>> functions that I wanted today). I imagine that a stats module would use >>> Cython to call the C functions for these sor

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
Carlo Hamalainen wrote: > On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout > wrote: >> R has a C interface for lots of functions (like the distribution >> functions that I wanted today). I imagine that a stats module would use >> Cython to call the C functions for these sorts of things, but then use

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
2009/9/16 Jason Grout : > > William Stein wrote: > >> I did write a lot of stats in Cython already, and it's much faster >> than both R and scipy.stats at what it does (at least last time I >> checked).  This is all the code in Sage's finance.TimeSeries... >> It's very specialized though compared

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
William Stein wrote: > I did write a lot of stats in Cython already, and it's much faster > than both R and scipy.stats at what it does (at least last time I > checked). This is all the code in Sage's finance.TimeSeries... > It's very specialized though compared to what is offered by Scipy/R. >

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
2009/9/16 Dag Sverre Seljebotn : > > William Stein wrote: >> On Wed, Sep 16, 2009 at 12:00 PM, Dag Sverre Seljebotn >> wrote: >>> Jason Grout wrote: Carlo Hamalainen wrote: > On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout > wrote: >> R has a C interface for lots of functions (like

[sage-devel] Re: web notebook in numerical methods

2009-09-16 Thread William Stein
2009/9/16 Ondrej Certik : > > On Wed, Sep 16, 2009 at 6:54 PM, Pavel Solin wrote: >> You are right. We should reduce the initial amount of >> work for someone who visits for two minutes and >> just wants to check things out quickly. I described the notebook >> quite in detail in a new NSF proposa

[sage-devel] Re: web notebook in numerical methods

2009-09-16 Thread Ondrej Certik
On Wed, Sep 16, 2009 at 6:54 PM, Pavel Solin wrote: > You are right. We should reduce the initial amount of > work for someone who visits for two minutes and > just wants to check things out quickly. I described the notebook > quite in detail in a new NSF proposal that I am submitting on > Thursd

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread Minh Nguyen
Hi Jeroen, On Thu, Sep 17, 2009 at 4:04 AM, Jeroen Demeyer wrote: > However: there is one important caveat. I use the environment variable > CC to set my compiler and not all packages honor this variable. At > least the following packages do not use $CC (I have not investigated > this issue

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread Dan Drake
On Wed, 16 Sep 2009 at 08:04PM +0200, Jeroen Demeyer wrote: > However: there is one important caveat. I use the environment variable > CC to set my compiler and not all packages honor this variable. At > least the following packages do not use $CC (I have not investigated > this issue deeply).

[sage-devel] Re: Sage Days 17 -- day 2 status reports

2009-09-16 Thread Robert Bradshaw
On Sep 16, 2009, at 12:10 PM, Fredrik Johansson wrote: > On Wed, Sep 16, 2009 at 8:56 PM, William Stein > wrote: > >> * Kevin Steuve: Compressing tables of differences between Li(x) and >> pi(x) by looking at differences of errors. Using lza only save >> 1/8 th >> disk space (thought we wo

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
lgautier wrote: > rpy2 is in fact providing 2 interfaces: a lower-level one (close to > R's C API), > and an higher-level one (written using the lower-level one, and able > to use > lower-level objects instead of higher-level ones). The lower-level > interface > is in fact design to permit the im

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
Dag Sverre Seljebotn wrote: > (With regards to creating Cython wrappers directly to C functions, I'd > rather use the SciPy functionality, which is essentially the same thing, > only that no reimplementation of the wheel is needed.) I meant that R already has C functions to calculate lots of

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread lgautier
On Sep 16, 7:46 pm, Jason Grout wrote: > William Stein wrote: > > On Wed, Sep 16, 2009 at 10:03 AM,   wrote: > >> Another idea for a project is to finish the statistics module wrapping > >> functionality in R.   I'm teaching a modeling class right now and I wish I > >> had a nice module of stat

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Carlo Hamalainen
On Wed, Sep 16, 2009 at 9:34 PM, Dag Sverre Seljebotn wrote: > And in the *few* cases where it would make sense to reimplement anything > in Cython for speed rather than interface with R (not my idea!), it > seems likely that the functionality in question is primitive enough for > SciPy to contai

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Dag Sverre Seljebotn
William Stein wrote: > On Wed, Sep 16, 2009 at 12:00 PM, Dag Sverre Seljebotn > wrote: >> Jason Grout wrote: >>> Carlo Hamalainen wrote: On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout wrote: > R has a C interface for lots of functions (like the distribution > functions that I wan

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread Dr. David Kirkby
Jeroen Demeyer wrote: > However: there is one important caveat. I use the environment variable > CC to set my compiler and not all packages honor this variable. At > least the following packages do not use $CC (I have not investigated > this issue deeply). > * cliquer-1.2 > * flint-1.3.0.p2

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Rob Beezer
On Sep 16, 10:32 am, William Stein wrote: > > Another idea for a project is to finish the statistics module wrapping > > functionality in R.   I'm teaching a modeling class right now and I wish I > > had a nice module of statistics functionality. Introductory statistics (the pre-calculus version

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread William Stein
2009/9/16 Jeroen Demeyer : > > William Stein wrote: >> On Wed, Sep 16, 2009 at 5:45 AM, Jeroen Demeyer >> wrote: >>> I am trying to compile sage-4.1.1 from source on a Gentoo Linux x86_64 >>> system with the experimental gcc-4.5.0. >>> >>> There are two issues, which are really the same problem.

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 12:00 PM, Dag Sverre Seljebotn wrote: > > Jason Grout wrote: >> Carlo Hamalainen wrote: >>> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout >>> wrote: R has a C interface for lots of functions (like the distribution functions that I wanted today).  I imagine that a

[sage-devel] Re: Sage Days 17 -- day 2 status reports

2009-09-16 Thread Fredrik Johansson
On Wed, Sep 16, 2009 at 8:56 PM, William Stein wrote: >  * Kevin Steuve: Compressing tables of differences between Li(x) and > pi(x) by looking at differences of errors.  Using lza only save 1/8 th > disk space (thought we would get more).  Also made my code use > multi-core above $10^{12}$.  To

[sage-devel] Re: Problem with different maxima versions

2009-09-16 Thread Paulo César Pereira de Andrade
2009/9/16 Minh Nguyen : > > On Wed, Sep 16, 2009 at 10:52 AM, Jason Grout > wrote: > > > >> I think networkx 0.99 will require some nontrivial work in Sage, since >> they changed a lot of things. I forgot to say about another package, but at least for now, they don't "cascade" on several othe

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 12:00 PM, Dag Sverre Seljebotn wrote: > > Jason Grout wrote: >> Carlo Hamalainen wrote: >>> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout >>> wrote: R has a C interface for lots of functions (like the distribution functions that I wanted today).  I imagine that a

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Dag Sverre Seljebotn
Jason Grout wrote: > Carlo Hamalainen wrote: >> On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout >> wrote: >>> R has a C interface for lots of functions (like the distribution >>> functions that I wanted today). I imagine that a stats module would use >>> Cython to call the C functions for these sor

[sage-devel] Sage Days 17 -- day 2 status reports

2009-09-16 Thread William Stein
== Wed September 16, 2009 == * Amod Agashe: did: arrived safely; testing level lower conjecture when no p-torsion up to level 800. plan to do: run code further; investigate Soroosh counterexample at 13; way to capture congruences only with old forms; craig and congruences with old forms. * To

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread kcrisman
On Sep 16, 1:46 pm, Jason Grout wrote: > William Stein wrote: > > On Wed, Sep 16, 2009 at 10:03 AM,   wrote: > >> Another idea for a project is to finish the statistics module wrapping > >> functionality in R.   I'm teaching a modeling class right now and I wish I > >> had a nice module of stat

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
Carlo Hamalainen wrote: > On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout > wrote: >> R has a C interface for lots of functions (like the distribution >> functions that I wanted today). I imagine that a stats module would use >> Cython to call the C functions for these sorts of things, but then use

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Carlo Hamalainen
On Wed, Sep 16, 2009 at 7:46 PM, Jason Grout wrote: > R has a C interface for lots of functions (like the distribution > functions that I wanted today).  I imagine that a stats module would use > Cython to call the C functions for these sorts of things, but then use > rpy2 for the rest of the int

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread Jeroen Demeyer
William Stein wrote: > On Wed, Sep 16, 2009 at 5:45 AM, Jeroen Demeyer > wrote: >> I am trying to compile sage-4.1.1 from source on a Gentoo Linux x86_64 >> system with the experimental gcc-4.5.0. >> >> There are two issues, which are really the same problem. > > Are they the only two issues an

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread Jason Grout
William Stein wrote: > On Wed, Sep 16, 2009 at 10:03 AM, wrote: >> Another idea for a project is to finish the statistics module wrapping >> functionality in R. I'm teaching a modeling class right now and I wish I >> had a nice module of statistics functionality. >> > > Thanks. If you have a

[sage-devel] Re: Statistics in Sage

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 10:03 AM, wrote: > > Another idea for a project is to finish the statistics module wrapping > functionality in R.   I'm teaching a modeling class right now and I wish I > had a nice module of statistics functionality. > Thanks. If you have any more specific thoughts abo

[sage-devel] Re: Build problems with gcc-4.5.0

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 5:45 AM, Jeroen Demeyer wrote: > Hello, > > I am trying to compile sage-4.1.1 from source on a Gentoo Linux x86_64 > system with the experimental gcc-4.5.0. > > There are two issues, which are really the same problem. Are they the only two issues and other than those Sage

[sage-devel] Re: Checking new code with an entire database (isogenies)

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 9:05 AM, J. Cooley wrote: > > Hi, > > I've written with my supervisor some code that computes the isogeny > class of a curve over QQ. I would like to check it with the entire > Cremona database overnight, but I'm not sure how to do that! > > To do it case by case I would d

[sage-devel] Re: math software journal for R

2009-09-16 Thread William Stein
On Wed, Sep 16, 2009 at 9:15 AM, Jason Grout wrote: > > At various times, a journal for math software has been discussed.  Here > is the math software journal for R.  R probably has a much bigger > community than Sage, and is much more entrenched in the profession than > Sage.  It would probably

[sage-devel] math software journal for R

2009-09-16 Thread Jason Grout
At various times, a journal for math software has been discussed. Here is the math software journal for R. R probably has a much bigger community than Sage, and is much more entrenched in the profession than Sage. It would probably be good to talk to these guys and see how they do things if

[sage-devel] Re: reviewer(s) for cliquer-1.2.p0.spkg on 64-bit platforms

2009-09-16 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Wed, Sep 16, 2009 at 9:01 PM, Dr. David Kirkby > wrote: > > > >> will ensure that the spkg-install will not exit immediately if 'make' >> fails, but it will issue an informative error before exiting. > > I have updated the package with your suggestions.

[sage-devel] Checking new code with an entire database (isogenies)

2009-09-16 Thread J. Cooley
Hi, I've written with my supervisor some code that computes the isogeny class of a curve over QQ. I would like to check it with the entire Cremona database overnight, but I'm not sure how to do that! To do it case by case I would do something like: sage: isogs, matrix = E.isogeny_class() sage:

[sage-devel] Notebook snapshot bug?

2009-09-16 Thread kcrisman
While attempting to "save and quit" a worksheet the first time, in the terminal window I get: File "/.../sage/local/lib/python2.6/site-packages/sage/server/ notebook/worksheet.py", line 1950, in limit_snapshots creation = int(os.path.splitext(snapshots[i])[0]) except

[sage-devel] Re: Behavior of solve

2009-09-16 Thread kcrisman
Sorry, I think you both misunderstood my question :) If I was having trouble in that sense, I would have posted on sage-support. My question is, what behavior should Sage ALLOW from solve? I am in the midst of fixing some solve behavior caused by the Maxima upgrade, and want someone else's opin

[sage-devel] Re: reviewer(s) for cliquer-1.2.p0.spkg on 64-bit platforms

2009-09-16 Thread Minh Nguyen
Hi David, On Wed, Sep 16, 2009 at 9:01 PM, Dr. David Kirkby wrote: > will ensure that the spkg-install will not exit immediately if 'make' > fails, but it will issue an informative error before exiting. I have updated the package with your suggestions. The updated spkg is at the same place:

[sage-devel] Re: SHA-3 Competition and Sage

2009-09-16 Thread Minh Nguyen
Hi Wolfgang, On Wed, Sep 16, 2009 at 10:37 PM, wrote: > 1. Item 47 and 48 seem to be the same. > > 2. Item 5 and 6 link to the same page, where only 5 seems to be mentioned. Thank you for reporting those errors. I have updated the publications page accordingly: http://www.sagemath.org/libr

[sage-devel] Re: Categories restart: call for reviewers

2009-09-16 Thread Nicolas M. Thiery
Dear category fans, Thanks to Florent (and previous work by Anne, Jason, Franco, ...) all the sage-combinat related categories have a positive review. There remains just the mostly trivial categories listed below which would be best reviewed by some non-sage-combinat person (standard cat

[sage-devel] Build problems with gcc-4.5.0

2009-09-16 Thread Jeroen Demeyer
Hello, I am trying to compile sage-4.1.1 from source on a Gentoo Linux x86_64 system with the experimental gcc-4.5.0. There are two issues, which are really the same problem. *** FIRST ISSUE *** gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/src/s

[sage-devel] Re: SHA-3 Competition and Sage

2009-09-16 Thread wolmid
Hi All, 2009/9/16 Minh Nguyen : > > Hi Martin, > > On Wed, Sep 16, 2009 at 8:08 PM, Martin Albrecht > wrote: > > > >> Minh, Harald can you add it to the list of publications citing Sage? > > Done. See the updated publications page at > > http://www.sagemath.org/library-publications.html > Sorr

[sage-devel] Re: SHA-3 Competition and Sage

2009-09-16 Thread Minh Nguyen
Hi Martin, On Wed, Sep 16, 2009 at 8:08 PM, Martin Albrecht wrote: > Minh, Harald can you add it to the list of publications citing Sage? Done. See the updated publications page at http://www.sagemath.org/library-publications.html -- Regards Minh Van Nguyen --~--~-~--~~--

[sage-devel] Re: reviewer(s) for cliquer-1.2.p0.spkg on 64-bit platforms

2009-09-16 Thread Dr. David Kirkby
Minh Nguyen wrote: > On Mon, Sep 14, 2009 at 4:17 AM, William Stein wrote: > > > >> OK, I also posted a review with several specific comments about the >> spkg-install, which do include Kirkby's. > > An updated spkg is up at ticket #6681 > > http://trac.sagemath.org/sage_trac/ticket/6681 >

[sage-devel] Re: SHA-3 Competition and Sage

2009-09-16 Thread David Joyner
On Wed, Sep 16, 2009 at 6:08 AM, Martin Albrecht wrote: > > Hi there, > > I am not sure how many readers of [sage-devel] are aware of the fact that > currently there is an internal competition going on to find the next secure > hash function. > >  http://csrc.nist.gov/groups/ST/hash/sha-3/index.h

[sage-devel] SHA-3 Competition and Sage

2009-09-16 Thread Martin Albrecht
Hi there, I am not sure how many readers of [sage-devel] are aware of the fact that currently there is an internal competition going on to find the next secure hash function. http://csrc.nist.gov/groups/ST/hash/sha-3/index.html http://ehash.iaik.tugraz.at/wiki/The_SHA-3_Zoo Today I notic

[sage-devel] Re: reviewer(s) for cliquer-1.2.p0.spkg on 64-bit platforms

2009-09-16 Thread Minh Nguyen
On Mon, Sep 14, 2009 at 4:17 AM, William Stein wrote: > OK, I also posted a review with several specific comments about the > spkg-install, which do include Kirkby's. An updated spkg is up at ticket #6681 http://trac.sagemath.org/sage_trac/ticket/6681 It addresses all of the reviewers' comm

[sage-devel] Update of readline to 6.0 needs testing

2009-09-16 Thread Dr. David Kirkby
William and I created a new .spkg for readline. http://sage.math.washington.edu/home/kirkby/Solaris-fixes/readline-6.0-2nd-try/readline-6.0.spkg It cures 3 problems I'm aware of 1) The old readline would not build on OS X 10.6 2) The old spkg-install would not make a 64-bit build on Solaris. 3

[sage-devel] Re: tutorial: en vs. fr versions

2009-09-16 Thread peterjeremy
[This is getting a bit dated but I am endeavouring to post it simply to get my work out what is wrong with my subscription] I don't think this is as impossible as some people have suggested. Since there is a fairly heavy academic involvement in Sage: Maybe an expedition to the local School of La