[sage-support] Re: Timing functions in a loop

2007-01-18 Thread William Stein
On Thu, 18 Jan 2007 16:25:17 -0800, Timothy Clemans <[EMAIL PROTECTED]> wrote: My code is: for n in range(10): time primes_first_n(10*n) the error is Syntax Error: time primes_first_n(10*n) I have tried time(primes_first_n(10*n)) I did time "tab" and time?? and got nothing time 2+2 wor

[sage-support] Re: installation for windows XP sp2

2007-01-18 Thread William Stein
On Thu, 18 Jan 2007 13:10:36 -0800, Harry <> wrote: Hello I am a Win XP SP2 user and a students trying to do a project on Black holes, it involves the geodesic equations riemman geometry and so on. While at uni there is Maple at home I have been trying to learn about Maxima but have recently fo

[sage-support] Re: "print" problem

2007-01-18 Thread William Stein
On Thu, 18 Jan 2007 10:25:54 -0800, Justin C. Walker <[EMAIL PROTECTED]> wrote: Hi, all, This strikes me as a bit weird: sage: T=(1,2) sage: print "Test: %s"%T --- Traceback (most recent call last) /SandB

[sage-support] Re: "print" problem

2007-01-18 Thread David Harvey
On Jan 18, 2007, at 1:25 PM, Justin C. Walker wrote: Is it not possible to directly print a tuple ('...%(T)' doesn't work either)? This seems to be a python problem, not related to the layers between sage and python. This is one of the very few ugly pieces of python syntax: sage: T = (1

[sage-support] "print" problem

2007-01-18 Thread Justin C. Walker
Hi, all, This strikes me as a bit weird: sage: T=(1,2) sage: print "Test: %s"%T --- Traceback (most recent call last) /SandBox/Justin/sb/sage-1.6.alpha2/ in () : not all arguments converted during str

[sage-support] RuntileError: maximum recursion depth exceeded in cmp

2007-01-18 Thread Jaap Spies
Help! For me this is surprising! Jaap --- sage: a = sloane.A001694; a Powerful Numbers (also called squarefull, square-full or 2-full numbers). sage: a.offset 1 sage: a(1) 1 sage: a(200) 11552 sage: a.list(12) [1, 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, 72] sage: a(0) Traceback (

[sage-support] Re: error while compiling gnuplot.spkg, scipy spkg

2007-01-18 Thread William Stein
On Thu, 18 Jan 2007 01:10:09 -0800, dgalant <[EMAIL PROTECTED]> wrote: The error message was: gplt_x11.c:519: error: 'Class' redeclared as different kind of symbol :0: error: previous declaration of 'Class' was here make[3]: *** [gplt_x11.o] Error 1 Error building gnuplot The install log is: