Re: [sage-devel] Re: Extend a real function's valid input types in Sage

2010-09-03 Thread ross kyprianou
Thanks guys exp, log, sqrt etc covers well over 50% of the requirement so Im really ahead - Once again - THANKS! It seems functional.py is definitely the place to be looking at. Whats needed is a "catch-all/anonymous" function in functional.py so that X.myfunction() is "try'ed" whenever myfunctio

[sage-devel] Re: Extend a real function's valid input types in Sage

2010-09-03 Thread Jason Grout
On 9/3/10 10:53 PM, Ross Kyprianou wrote: Ive defined a class and need to pass instances of it to any standard real function in Sage such as exp and log (i.e. functions that accept numbers (ints, reals etc) and symbolic vars but obviously they wont accept this new class thats been created). I can

Re: [sage-devel] Extend a real function's valid input types in Sage

2010-09-03 Thread Mike Hansen
On Fri, Sep 3, 2010 at 8:53 PM, Ross Kyprianou wrote: > X = NormalRV(mu,sigma) > Y = log(X) > ... > Is there any way I can get Sage to execute > Y = X(log) > to invoke the __call__ method and get the right answer, every time the > user enters the more natural > Y = log(X) > ? Just define X.log()

[sage-devel] wiki.sagemath.org

2010-09-03 Thread William Stein
Hi, I've changed the http://sagemath.org wiki password phrase from "Number of primes up to 100?" to "Number of primes up to 1000?"The answer is 168. I made the question harder because we have had *several* distinct spammers successfully answer the first question and wreak havoc. -- William

[sage-devel] Extend a real function's valid input types in Sage

2010-09-03 Thread Ross Kyprianou
Ive defined a class and need to pass instances of it to any standard real function in Sage such as exp and log (i.e. functions that accept numbers (ints, reals etc) and symbolic vars but obviously they wont accept this new class thats been created). I cant modify the functions to accept this new ty

[sage-devel] Re: PhD position "Industrial Algebra" available (aka "The PolyBoRi PhD")

2010-09-03 Thread Bill Hart
Sorry, that *definitely* didn't come out the way I meant it, in the slightest. I only meant to ask, "what level of skills in these areas are you looking for, could you be slightly more specific". I meant to imply that at some institutions, the list might give the impression of being a very tough

[sage-devel] Re: PhD position "Industrial Algebra" available (aka "The PolyBoRi PhD")

2010-09-03 Thread Bill Hart
Hi Alexander, How can a finishing undergraduate have this kind of experience? I think I could hope to find a candidate who has used a computer algebra system, and perhaps to have done some courses at an undergraduate level on the broad areas of algebra and algebraic geometry. But how could an unde

[sage-devel] Re: sage -spkg may hang

2010-09-03 Thread Simon King
On Sep 3, 10:44 am, Simon King wrote: > I am about to create a ticket for it. It is #9851, I guess ready for review. Cheers, Simon -- 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 Fo

[sage-devel] Re: sage -spkg may hang

2010-09-03 Thread Simon King
Hi Mitesh, On Sep 2, 11:47 pm, Mitesh Patel wrote: > """ > Warning > > Use communicate() rather than .stdin.write, .stdout.read or .stderr.read > to avoid deadlocks due to any of the other OS pipe buffers filling up > and blocking the child process. > """ Communicate works! I am about to create

[sage-devel] Re: PhD position "Industrial Algebra" available (aka "The PolyBoRi PhD")

2010-09-03 Thread Alexander Dreyer
Just to clariy: we are looking for a doctoral candidate (*not* a postdoc.) My best, Alexander -- 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 ht

[sage-devel] Re: sage -spkg may hang

2010-09-03 Thread Simon King
Hi Mitesh! On Sep 2, 11:47 pm, Mitesh Patel wrote: > ... > Maybe it's relevant? That sounds relevant to me. > Could you give a link to a compressed archive of the directory? http://sage.math.washington.edu/home/SimonKing/Cohomology/p_group_cohomology-2.1.alpha0.tar.gz Don't mind the name -- r