[sage-devel] downtime on September 9

2011-09-06 Thread William Stein
Hi, The entire sage.math cluster (and all related resources) will be down from the wee hours of the morning on Friday, September 9, until probably around 2pm that day. All times are PST. This is because there was a serious electrical problem in the server room, and the electricians have to come

Re: [sage-devel] Re: Coercion, __mul__, and infinite recursion

2011-09-06 Thread Maarten Derickx
The above of course modulo the inconsistency's python allows. Since defining both: class C(A,B): class D(B,A): don't give errors yet, but it does make it impossible to inherit from C and D wich might be annoying. -- To post to this group, send an email to sage-devel@googlegroups.com To unsub

Re: [sage-devel] Re: Coercion, __mul__, and infinite recursion

2011-09-06 Thread Maarten Derickx
I was also thinking about checking if the whole subcategory category graph is also a valid python inheritance graph. This so that inconsistencies cannot exist silently. But I guess that is also automatically checked by python as soon as you construct an explicit parent in each category so this

Re: [sage-devel] Re: Upstream projects

2011-09-06 Thread Maarten Derickx
On Tuesday, September 6, 2011 4:47:22 PM UTC+2, Nicolas M. Thiéry wrote: > > Actually that post highlights quite well our motivations for switching > development model from a library on top of a system (as was > MuPAD-Combinat w.r.t. MuPAD) to a bunch of patches, most of whom are > intended to be

[sage-devel] Re: Fast substitution symbolic matrices/vectors for numeric intensive task?

2011-09-06 Thread Guilherme Brondani Torri
Hi Jason, Does that use fast_callable? I couldn't find a mention of fast_callable in the worksheet anywhere except in the descriptive text at the top. For some the mentioned worksheets are not at there. I republished them: My original: http://www.sagenb.org/home/pub/3117/ Modified by Marteen:

[sage-devel] Re: [sage-marketing] CMJ review of Mma book discusses Sage

2011-09-06 Thread William Stein
Here's the page that mentions sage: http://wstein.org/home/wstein/tmp/screenshot_09062011.png On Tue, Sep 6, 2011 at 12:57 PM, kcrisman wrote: > Just FYI - if you get or have access to the College Mathematics > Journal (an MAA publication), there is a book review of Stan Wagon's > "Mathematica in

[sage-devel] CMJ review of Mma book discusses Sage

2011-09-06 Thread kcrisman
Just FYI - if you get or have access to the College Mathematics Journal (an MAA publication), there is a book review of Stan Wagon's "Mathematica in Action", 3rd ed., which devotes a fairly lengthy afterword to the issue of price of the M's and introduces Sage. The Sage website is referenced, as i

Re: [sage-devel] Re: DirichletGroup(1)[0] values?

2011-09-06 Thread Justin C. Walker
On Sep 6, 2011, at 11:53 , Justin C. Walker wrote: > > On Sep 6, 2011, at 11:16 , William Stein wrote: > >> On Tue, Sep 6, 2011 at 10:57 AM, Adam Webb >> wrote: >>> I also get [0] in 4.7.1. This is built from source on Ubuntu 11.04 >>> running in a virtual machine (32 bit and 64 bit versions

Re: [sage-devel] Re: DirichletGroup(1)[0] values?

2011-09-06 Thread Justin C. Walker
On Sep 6, 2011, at 11:16 , William Stein wrote: > On Tue, Sep 6, 2011 at 10:57 AM, Adam Webb wrote: >> >> >> On Sep 6, 6:46 am, Matthew Alderson >> wrote: >>> Hello, >>> >>> I'm using Sage 4.6.2 on my local machine and when I use the command >>> >>> DirichletGroup(1)[0].values() >>> >>> it

Re: [sage-devel] Re: DirichletGroup(1)[0] values?

2011-09-06 Thread William Stein
On Tue, Sep 6, 2011 at 10:57 AM, Adam Webb wrote: > > > On Sep 6, 6:46 am, Matthew Alderson > wrote: >> Hello, >> >> I'm using Sage 4.6.2 on my local machine and when I use the command >> >> DirichletGroup(1)[0].values() >> >> it gives me the correct values (namely [1]). However, in Sage 4.7.1, i

[sage-devel] Re: DirichletGroup(1)[0] values?

2011-09-06 Thread Dima Pasechnik
on macosx 10.6 x_64 with Sage 4.7.1 built from source I get [0] And the same on Linux x64 with Sage 4.7. -- 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 gr

[sage-devel] Re: DirichletGroup(1)[0] values?

2011-09-06 Thread Adam Webb
On Sep 6, 6:46 am, Matthew Alderson wrote: > Hello, > > I'm using Sage 4.6.2 on my local machine and when I use the command > > DirichletGroup(1)[0].values() > > it gives me the correct values (namely [1]). However, in Sage 4.7.1, it > seems to return [0], which is > false since everything is co

Re: [sage-devel] DirichletGroup(1)[0] values?

2011-09-06 Thread John Cremona
On my 4.7.1 I get [1] as expected. That's on my own build on ubuntu. John On Tue, Sep 6, 2011 at 1:46 PM, Matthew Alderson wrote: > Hello, > I'm using Sage 4.6.2 on my local machine and when I use the command > DirichletGroup(1)[0].values() > it gives me the correct values (namely [1]). However

Re: [sage-devel] Re: Coercion, __mul__, and infinite recursion

2011-09-06 Thread Nicolas M. Thiery
On Mon, Sep 05, 2011 at 02:58:52PM -0700, Maarten Derickx wrote: >Hmmm maybe it would be worth using the same algorithm as python for >determining the inheretance order for categories. I assume you mean the algorithm that translates the classes inheritance diagram into the method resolutio

Re: [sage-devel] Re: Upstream projects

2011-09-06 Thread Nicolas M. Thiery
On Sun, Sep 04, 2011 at 03:09:31AM -0700, Maarten Derickx wrote: >I'm also curious for wich project sage is considered upstream, of course >there is psage but are there any others? Sage-Combinat? Actually that post highlights quite well our motivations for switching development model from

[sage-devel] Re: Fast substitution symbolic matrices/vectors for numeric intensive task?

2011-09-06 Thread Jason Grout
On 9/4/11 4:19 PM, Maarten Derickx wrote: Hej Guilherme, Here at http://www.sagenb.org/home/pub/3117/ there is a modified version of your worksheet wich uses fast_callable to make your example way faster. It is not as fast as your fortran example, but as the timings at the bottom show this in no

[sage-devel] DirichletGroup(1)[0] values?

2011-09-06 Thread Matthew Alderson
Hello, I'm using Sage 4.6.2 on my local machine and when I use the command DirichletGroup(1)[0].values() it gives me the correct values (namely [1]). However, in Sage 4.7.1, it seems to return [0], which is false since everything is coprime to 1. Thank you, Matt -- To post to this group,

[sage-devel] Re: MATLAB: viable alternative...?

2011-09-06 Thread Jason Grout
On 9/6/11 7:12 AM, Jason Grout wrote: current thread on scipy-dev Sorry; it's on scipy-user. The link is still correct. Jason -- 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

[sage-devel] Re: MATLAB: viable alternative...?

2011-09-06 Thread Jason Grout
On 9/6/11 12:46 AM, David Ketcheson wrote: I may have been too harsh in using the term 'disaster'. I am certainly glad that scipy exists, but I use it with extreme caution. First, it is quite disorganized. Say you want to solve an ODE. First, you have to know to import scipy.integrate (importi

[sage-devel] Re: Fast substitution symbolic matrices/vectors for numeric intensive task?

2011-09-06 Thread Guilherme
Hi Richard, I am sorry, I replied directly to you instead of here in the list. I apologize for that. Anyway, thank you for the suggestions. Regards, Guilherme -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+uns

[sage-devel] Re: Coercion, __mul__, and infinite recursion

2011-09-06 Thread Simon King
Hi Maarten, On 5 Sep., 23:58, Maarten Derickx wrote: > Hmmm maybe it would be worth using the same algorithm as python for > > determining the inheretance order for categories. In the first place, the mathematical inheritances must be obeyed. However, mathematically, it makes no difference whet

[sage-devel] Re: python ints vs sage ints with respect to powers

2011-09-06 Thread Dima Pasechnik
On Tuesday, 6 September 2011 13:01:53 UTC+8, leif wrote: > > On 6 Sep., 06:36, Dima Pasechnik wrote: > > On Tuesday, 6 September 2011 11:08:02 UTC+8, leif wrote: > > > [...] > > > Of course int(n)^-k should be int(1)/int(n)^k, yielding either a > Python int or float, to stay "pythonic", or

[sage-devel] Re: Fast substitution symbolic matrices/vectors for numeric intensive task?

2011-09-06 Thread Guilherme
Hi Maarten, I appreciate your example. I am doing modifications to accommodate the fast_callable. The only thing is that I have to provide all the symbolic variables, and I have several of them The jacobian is a square matrix and I will try it via a list of lists of fast_callable functions.