[sage-devel] Re: License lawyers

2009-02-21 Thread Nick Alexander
> Anything skanky milling around in those "subroutine comments"? Thank you all for your attention, but it turns out that Cholesky decomposition can be naively computed via trivial recursions. 6 lines. Now it may not be numerically stable... but it's easy :) Nick --~--~-~--~~--

[sage-devel] Re: License lawyers

2009-02-21 Thread Justin C. Walker
On Feb 19, 2009, at 21:50 , Nick Alexander wrote: > > Hi, > > The following is the BSD-like license of some MPFR cholesky > decomposition code I might like to use. Is this sage-able? > > Nick > > (* > Copyright (c) 1992-200

[sage-devel] Sage 3.3 sources are out

2009-02-21 Thread mabshoff
Hello folks, the final 3.3 sources are out and now available at http://www.sagemath.org/src/ as well as some of the mirrors already (at least Seattle II, Boston, Germany and France since I personally pushed or pulled the update). Over 3.3.rc3 there were as expected very few merges: Merged i

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Tim Lahey
On Feb 22, 2009, at 1:25 AM, Ondrej Certik wrote: >> > It's because sympy, sympycore and pynac were all written by different > people and as of now they are not compatible. I don't like the > situation either, and if I manage to find funding for the summer, I'd > like to speedup sympy using Cytho

[sage-devel] Double transpose on right_kernel()

2009-02-21 Thread Rob Beezer
I have been walking through some of the matrix code before adding some enhancements. A right_kernel() will take the transpose of a matrix and call left_kernel(). left_kernel() (or kernel()) generally takes a transpose before calling some other code to row-reduce the matrix, and so on. It appear

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Ondrej Certik
On Sat, Feb 21, 2009 at 7:57 AM, Maurizio wrote: > > Hi Burcin, > thank you very much for this! > > I admit that I've never heard of Pynac. I'm really glad to have > subscribed this group, otherwise I couldn't have discovered it! > This brings me to a new question: how are user supposed to go thr

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Justin C. Walker
On Feb 20, 2009, at 23:25 , mabshoff wrote: > > Hello folks, > > Sage 3.3.rc3 is out and available in the usual place at > > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.3/ Built w/o problems as an upgrade to rc0, on Mac OS X, 10.5.6 (Dual Quad Xeon). All tests passed! J

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Justin C. Walker
On Feb 21, 2009, at 00:32 , mabshoff wrote: > > > > On Feb 21, 12:21 am, Alex Ghitza wrote: > > Hi Alex, > >> I've recently (yesterday) turned my work MacBook into a dual-boot >> MacOSX and >> Archlinux machine. I built 3.3.rc3 from scratch under Linux, without >> problems and with all tests

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 4:09 pm, William Stein wrote: > On Sat, Feb 21, 2009 at 2:56 PM, mabshoff wrote: > > #5333 (pynac.spkg: Delete old pynac libray during spkg-install > > I just want to point out that I didn't actually hit that problem and > that wasn't the fix for the problem I saw, though it is a

[sage-devel] Re: upgrade fails again

2009-02-21 Thread William Stein
On Sat, Feb 21, 2009 at 2:56 PM, mabshoff wrote: > > > > On Feb 21, 8:57 am, John Cremona wrote: >> On Feb 21, 3:45 pm, John Cremona wrote: > > Hi John, > > > >> The upgrade failed in exactly the same way as above. To recap: I had >> a working successful build of sage-3.3.rc0 and was in the

[sage-devel] Request for Sage 3.4 ReST review - 3.4.x release plans

2009-02-21 Thread mabshoff
Hello folks, Sage 3.3 is out and upgrading via the main Sage server is live. It seems that we are having some trouble with some stale pynac libs on upgrade from some releases, so please let us know if you are hit by that. We are tracking the problem at #5333 and there should be an updated spkg in

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 8:57 am, John Cremona wrote: > On Feb 21, 3:45 pm, John Cremona wrote: Hi John, > The upgrade failed in exactly the same way as above.  To recap:  I had > a working successful build of sage-3.3.rc0 and was in the main branch > (so starting sage did not give me a message about bi

[sage-devel] broken link

2009-02-21 Thread ahmet alper parker
This link is not working:http://sagemath.org/paper-letter/ It is under doc page/pdf versions link... --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegr

[sage-devel] RFC: Timer widget for interact

2009-02-21 Thread boothby
Yesterday, I wanted to make an interact widget that showed an animation more complicated than the animate command allows. So, on a plane trip, I hacked up the following. It's a bit rough, and not a proper patch, etc. However, those who care can paste it into a notebook and check it out. Th

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Jason Grout
Maurizio wrote: >>> Another example is with matplotlib. As I can read somewhere on the >>> web, there are different opinions about using the SAGE plot >>> capabilities rather than this external package. >> Sage's 2d plotting just uses matplotlib, which is a standard package >> included in SAge. M

[sage-devel] Fwd: sage @ Quantnet.org - Financial Engineering Forum

2009-02-21 Thread William Stein
-- Forwarded message -- From: Harald Schilly Date: Sat, Feb 21, 2009 at 3:09 AM Subject: sage @ Quantnet.org - Financial Engineering Forum To: William Stein Hi, my google-alert just told me about this. I think you maybe want to follow that thread or answer there! http://www.qu

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 10:41 am, William Stein wrote: > On Sat, Feb 21, 2009 at 8:57 AM, John Cremona wrote Hi, > > I particularly like the suggestion that my problem is to upgrade > > (which does nothing, of course). > > That is an error message from Ipython suggesting to upgrade the > Ipython rc files

[sage-devel] Re: upgrade fails again

2009-02-21 Thread William Stein
On Sat, Feb 21, 2009 at 8:57 AM, John Cremona wrote: > > > > On Feb 21, 3:45 pm, John Cremona wrote: >> Thanks for the diagnosis and suggestions. Evidently I did the upgrade >> from a clone, one I made yesterday to review one of those patches >> >> Suggestion: since the upgrade already giv

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 9:58 am, John Cremona wrote: Hi John, > Thanks, Michael.  Obviously do not spend any (more) time on this > before 3.3 is out. The Sage 3.3 sources are already in the usual place with the other 3.3.alpha and rc releases. They should be on the main website within a few hours. >  Or

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
Thanks, Michael. Obviously do not spend any (more) time on this before 3.3 is out. Or maybe 3.4. or 3.4.1. or... see http://www.warwick.ac.uk/staff/J.E.Cremona/upgrade.tgz for the install log and env output. I could not do either "hg heads" or "hg status" in sage-3.3.rc0/devel/ sage : j...@u

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 8:57 am, John Cremona wrote: > On Feb 21, 3:45 pm, John Cremona wrote: Hi John, > > I'm now doing an upgrade from my rc0 build, not from any clone, and > > we'll see what happens! > > The upgrade failed in exactly the same way as above.  To recap:  I had > a working successful bui

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
On Feb 21, 3:45 pm, John Cremona wrote: > Thanks for the diagnosis and suggestions.  Evidently I did the upgrade > from a clone, one I made yesterday to review one of those patches > > Suggestion:  since the upgrade already gives a prompt and will not > continue unless you reply "yes",  why

[sage-devel] Re: Small problem with Sage.app environment

2009-02-21 Thread mabshoff
On Feb 21, 8:14 am, mark mcclure wrote: Hi Mark, > I can't quite figure out how to access optional programs > using Sage.app.  For example, if I start sage via the > command line './sage-3.3.rc2/sage' and then fire up the > notebook, I can access Octave and compute the eigenvalues > of a rand

[sage-devel] Small problem with Sage.app environment

2009-02-21 Thread mark mcclure
I can't quite figure out how to access optional programs using Sage.app. For example, if I start sage via the command line './sage-3.3.rc2/sage' and then fire up the notebook, I can access Octave and compute the eigenvalues of a random 5x5 matrix using something like the following %octave A =

[sage-devel] Harmonic numbers and Stirling numbers

2009-02-21 Thread Fredrik Johansson
Hi, Looking around, it seems Sage does not yet implement harmonic numbers (except via SymPy)? If anyone is interested, I benchmarked a few different algorithms and blogged about it here: http://fredrik-j.blogspot.com/2009/02/how-not-to-compute-harmonic-numbers.html Besides (generalized) harmonic

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Maurizio
Hi Burcin, thank you very much for this! I admit that I've never heard of Pynac. I'm really glad to have subscribed this group, otherwise I couldn't have discovered it! This brings me to a new question: how are user supposed to go through SAGE features learning? I supposed that the reference manu

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Robert Bradshaw
On Feb 21, 2009, at 3:30 AM, Maurizio wrote: > That was the way I used to do it when I discovered the solution_dict > param. > > So, I started using the dictionaries to do substitution even in > complex expressions... The result was to wait so much time! > > On the contrary, I found that the subs

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
Thanks for the diagnosis and suggestions. Evidently I did the upgrade from a clone, one I made yesterday to review one of those patches Suggestion: since the upgrade already gives a prompt and will not continue unless you reply "yes", why not add to that prompt a line saying don't go any f

[sage-devel] Re: upgrade fails again

2009-02-21 Thread Robert Bradshaw
On Feb 21, 2009, at 6:23 AM, mabshoff wrote: > On Feb 21, 6:10 am, John Cremona wrote: > > Hi John, > >> Am I the only person for whom "sage -upgrade" always fails? It >> downloads lots of stuff, builds lots of stuff, and leaves me with an >> un-runnable sage which doesn't know whether it is th

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:36 am, Simon King wrote: > On 21 Feb., 15:27, mabshoff wrote: > > > >  rm -rf devel/sage > > > oops: > > >   rm -rf devel/sage* > > > Note that this will nuke all your changes, but that should be fairly > > obvious :) > > > >  ./sage -f spkt/standard/sage-x.y.z.spkg > > And I gues

[sage-devel] Re: upgrade fails again

2009-02-21 Thread Simon King
On 21 Feb., 15:27, mabshoff wrote: > >  rm -rf devel/sage > > oops: > >   rm -rf devel/sage* > > Note that this will nuke all your changes, but that should be fairly > obvious :) > > >  ./sage -f spkt/standard/sage-x.y.z.spkg And I guess in the previous line it is spkg/standard/sage-x.y.z.spkg,

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:10 am, John Cremona wrote: Hi John, > Am I the only person for whom "sage -upgrade" always fails?  It > downloads lots of stuff, builds lots of stuff, and leaves me with an > un-runnable sage which doesn't know whether it is the old version or > the new. -upgrade is designed to

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:23 am, mabshoff wrote: > On Feb 21, 6:10 am, John Cremona wrote: > > Hi John, > > > Am I the only person for whom "sage -upgrade" always fails?  It > > downloads lots of stuff, builds lots of stuff, and leaves me with an > > un-runnable sage which doesn't know whether it is the ol

[sage-devel] upgrade fails again

2009-02-21 Thread John Cremona
Am I the only person for whom "sage -upgrade" always fails? It downloads lots of stuff, builds lots of stuff, and leaves me with an un-runnable sage which doesn't know whether it is the old version or the new. In this case my working 3.3.rc2 was upgraded. Afterwards, the banner still says 3.3.r

[sage-devel] pexpect problem.

2009-02-21 Thread Florent Hivert
Dear all, It seems that I'm having a pexpect problem on my computation server. Maybe you already know that but it is not deterministic, ie doctest hangs in some more or less randomly chosen file. I've followed the instructions on http://groups.google.com/group/sage-devel/browse_thread/t

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Burcin Erocal
Hi Maurizio, On Fri, 20 Feb 2009 16:21:36 -0800 (PST) Maurizio wrote: > unfortunately, I don't have the code with me right now (I could give > you on monday), but I'm pretty sure it is something REALLY > straightforward and not optimized, like this: > > def coll(expr,s): > import sympy as

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Harald Schilly
On Feb 21, 12:30 pm, Maurizio wrote: > So, I started using the dictionaries to do substitution even in > complex expressions... The result was to wait so much time! That sounds bad, can you give an example? Or create one so that others can investigate it? > result = subList(expr, set) I still

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Maurizio
That was the way I used to do it when I discovered the solution_dict param. So, I started using the dictionaries to do substitution even in complex expressions... The result was to wait so much time! On the contrary, I found that the subs(expr, x=) was S much faster (are the dictionaries so

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > Sage 3.3.rc3 is out and available in the usual place at > >http://sage.math.washington.edu/home/mabshoff/release-cycles-3.3/ > > We merged a bunch of fixes and hopefully all doctest issues will have > been resolved. So far only two issues have cropped up t

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Maurizio
> > Another example is with matplotlib. As I can read somewhere on the > > web, there are different opinions about using the SAGE plot > > capabilities rather than this external package. > > Sage's 2d plotting just uses matplotlib, which is a standard package > included in SAge.  Matplotlib's pyla

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread mabshoff
On Feb 21, 12:21 am, Alex Ghitza wrote: Hi Alex, > I've recently (yesterday) turned my work MacBook into a dual-boot MacOSX and > Archlinux machine.  I built 3.3.rc3 from scratch under Linux, without > problems and with all tests passing.  I updated to 3.3.rc3 under OSX, > without problems ex

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread mabshoff
On Feb 21, 12:15 am, Alex Ghitza wrote: > Hi Michael, Hi Alex, > One correction to attributions: > > Merged in Sage 3.3.rc3: > > > > > #4688: Alex Ghitza: wrap pari functions idealstar and ideallog > > [Reviewed by John Cremona] > > should be > > #4688: Maite Aranes, Alex Ghitza: wrap pari fu

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Alex Ghitza
I've recently (yesterday) turned my work MacBook into a dual-boot MacOSX and Archlinux machine. I built 3.3.rc3 from scratch under Linux, without problems and with all tests passing. I updated to 3.3.rc3 under OSX, without problems except one small doctest failure due to the fact that I forgot I

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Alex Ghitza
Hi Michael, One correction to attributions: Merged in Sage 3.3.rc3: > > #4688: Alex Ghitza: wrap pari functions idealstar and ideallog > [Reviewed by John Cremona] > should be #4688: Maite Aranes, Alex Ghitza: wrap pari functions idealstar and ideallog [Reviewed by John Cremona] Best, Alex