[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Elizabeth Yip
Sorry !! Let me try again !! http://sites.google.com/site/mislwagroup/Home/eg_jsmath.3.4.pdf?attredirects=0 Elizabeth On Aug 3, 11:37 pm, Minh Nguyen wrote: > Hi Elizabeth, > > On Tue, Aug 4, 2009 at 4:34 PM, Elizabeth Yip wrote: > > > John > > The pdf file at > > >http://sites.google.com/site

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Minh Nguyen
Hi Elizabeth, On Tue, Aug 4, 2009 at 4:34 PM, Elizabeth Yip wrote: > > John > The pdf file at > > http://sites.google.com/site/mislwagro/Home/eg_jsmath.3.4.pdf?attredirects=0 > > is the output from sage-3.4 I went to that URL and got a "Site not found" error. -- Regards Minh Van Nguyen --~--~

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Elizabeth Yip
John The pdf file at http://sites.google.com/site/mislwagro/Home/eg_jsmath.3.4.pdf?attredirects=0 is the output from sage-3.4 Thanks for the prompt response! Elizabeth On Aug 3, 10:12 pm, John H Palmieri wrote: > On Aug 3, 9:39 pm, Elizabeth Yip wrote: > > > Hello, > > > The line > > > jsma

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread John H Palmieri
On Aug 3, 9:39 pm, Elizabeth Yip wrote: > Hello, > > The line > > jsmath("cos(2\phi)"+latex(1/x)) > > in the sage-4.1 notebook produces different result from the sage-3.4 > notebook.  The result in sage-3.4 is what I want. Okay, in the latest version, I see cos(2\phi)\frac{1}{x} I don't have a

[sage-support] jsmath in sage-4.1

2009-08-03 Thread Elizabeth Yip
Hello, The line jsmath("cos(2\phi)"+latex(1/x)) in the sage-4.1 notebook produces different result from the sage-3.4 notebook. The result in sage-3.4 is what I want. Thank you for your help! Elizabeth Yip --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread William Stein
On Mon, Aug 3, 2009 at 7:23 PM, Dan Shumow wrote: >> The above change is very sensible, since we know that outP is on >> self.__E2, so should directly create a point on E2 and not check again >> that our point is really on E2 (which is very expensive). > > I agree that we should make the change: >

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread Dan Shumow
> The above change is very sensible, since we know that outP is on > self.__E2, so should directly create a point on E2 and not check again > that our point is really on E2 (which is very expensive). I agree that we should make the change: else: outP = self.__E2(outP) to

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread William Stein
On Mon, Aug 3, 2009 at 6:10 PM, VictorMiller wrote: > > Sorry, here's the definition of Q: > > Q = E.random_element() > > Victor > > On Aug 3, 8:45 pm, Simon King wrote: >> Hi! >> >> On 4 Aug., 02:31, VictorMiller wrote: >> >> > Here are the commands I used: >> >> > qq = [z for z in primes(1

[sage-support] Re: Unrecognized linestyle

2009-08-03 Thread Rado
try using 'dashed' instead of '--'. Works for me. I have no idea why '--' works for plotting lines but not vectors (which are arrows) ... Rado On Aug 3, 3:46 pm, cesarnda wrote: > what is wrong with the following: > > sage: v1 = vector([1,2]) > sage: v2 = vector([2,1]) > sage: p1 = plot(v1, rg

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread Simon King
Hi Victor, On 4 Aug., 03:10, VictorMiller wrote: > Sorry, here's the definition of Q: > > Q = E.random_element() Thanks! So, probably it is unrelated with the ticket I mentioned. Also note that the computation time does not increase monotonely: sage: for i in xrange(20): timeit('phi(Q)') :

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread VictorMiller
Sorry, here's the definition of Q: Q = E.random_element() Victor On Aug 3, 8:45 pm, Simon King wrote: > Hi! > > On 4 Aug., 02:31, VictorMiller wrote: > > > Here are the commands I used: > > > qq = [z for z in primes(10,10+100) if (z%12) == 11] > > E = EllipticCurve(j=GF(qq[0])(1728))

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread Simon King
Hi! On 4 Aug., 02:31, VictorMiller wrote: > Here are the commands I used: > > qq = [z for z in primes(10,10+100) if (z%12) == 11] > E = EllipticCurve(j=GF(qq[0])(1728)) > # E has qq[0]+1 points over GF(qq[0]) > factor(qq[0]+1) > P = ((qq[0]+1)//3)*E.random_element() > K = [E(0),P,-P] > p

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread VictorMiller
Here are the commands I used: qq = [z for z in primes(10,10+100) if (z%12) == 11] E = EllipticCurve(j=GF(qq[0])(1728)) # E has qq[0]+1 points over GF(qq[0]) factor(qq[0]+1) P = ((qq[0]+1)//3)*E.random_element() K = [E(0),P,-P] phi = E.isogeny(K) for i in xrange(20): timeit('phi(Q)') On

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread William Stein
On Mon, Aug 3, 2009 at 4:37 PM, VictorMiller wrote: > > As far as I know Maxima isn't involved -- I don't think that isogenies > uses Maxima. You can prove Maxima isn't involved by doing the computation then exiting sage and seeing if it says "Exiting Maxima" when Sage is quiting. William > > V

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread Simon King
On 4 Aug., 00:29, VictorMiller wrote: ... >  phi = E.isogeny([E(0),P,-P]) > for i in xrange(20): timeit('phi(Q)') > > 625 loops, best of 3: 1.17 ms per loop > 625 loops, best of 3: 1.75 ms per loop > 125 loops, best of 3: 2.1 ms per loop > 125 loops, best of 3: 2.22 ms per loop > 125 loops, bes

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread Minh Nguyen
Hi Victor, On Tue, Aug 4, 2009 at 8:29 AM, VictorMiller wrote: > > I was trying to find out how fast a calculation was (applying an > isogeny of degree on an elliptic curve over > a finite field).  At first I noticed that when I repeated a timeit > call with the same expression I was getting mono

[sage-support] Re: Strange behavior in timeit

2009-08-03 Thread VictorMiller
As far as I know Maxima isn't involved -- I don't think that isogenies uses Maxima. Victor On Aug 3, 6:58 pm, Simon King wrote: > On 4 Aug., 00:29, VictorMiller wrote: > ... > > > > > > >  phi = E.isogeny([E(0),P,-P]) > > for i in xrange(20): timeit('phi(Q)') > > > 625 loops, best of 3: 1.17 m

[sage-support] Strange behavior in timeit

2009-08-03 Thread VictorMiller
I was trying to find out how fast a calculation was (applying an isogeny of degree on an elliptic curve over a finite field). At first I noticed that when I repeated a timeit call with the same expression I was getting monotonically increasing numbers, so I decided to try something more systemati

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Rado
Just for the record ipod touch (which problably means iphone too) runs sagenb.org without any problems. I must say really don't support apple's policies and was planning on switching to android-based solutions so hopefully those log-in glitches get fixed. Iphone has the same problem that its onscr

[sage-support] Unrecognized linestyle

2009-08-03 Thread cesarnda
what is wrong with the following: sage: v1 = vector([1,2]) sage: v2 = vector([2,1]) sage: p1 = plot(v1, rgbcolor=(1,0,0)) sage: p2 = plot(v2, rgbcolor=(0,1,0)) sage: t1 = text("V1", (1,2.1), rgbcolor=(1,0,0)) sage: t2 = text("V2", (2,1.1), rgbcolor=(0,1,0)) sage: p3 = plot(v1 + v2, rgbcolor=(0,0,

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-03 Thread Michael Brickenstein
Hi! I can't sleep, when fearing PolyBoRi could calculate wrong: Actually, it's probably just about the wrapper. My CVS, which is very much the same as 0.6.3 gives me: l="a111,a112,a121,a122,b111,b112,b211,b212,c111,c112".split(",") In [2]:declare_ring(l, globals()) Out[2]: In [3]:ideal=[a111 *

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-03 Thread lesshaste
Hi, On Aug 3, 7:39 pm, Martin Albrecht wrote: > > The problem in my case is really one of scale. I have put a larger > > example at the bottom of this message.  When I try to find the > > groebner basis in sage 4.1 (which seems to use polybori-0.5rc.p8) the > > memory usage goes over 1.6GB and t

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-03 Thread Martin Albrecht
> The problem in my case is really one of scale. I have put a larger > example at the bottom of this message. When I try to find the > groebner basis in sage 4.1 (which seems to use polybori-0.5rc.p8) the > memory usage goes over 1.6GB and then sage crashes. It is possible > that it just isn't r

[sage-support] Re: Solving multivariate polynomial systems over GF(2)

2009-08-03 Thread Martin Albrecht
On Saturday 01 August 2009, Simon King wrote: > Hi Martin, > > On Aug 1, 4:09 pm, Martin Albrecht > > wrote: > > sage: R. = > > BooleanPolynomialRing(order='lex') > > sage: I=(a111 * b111 * c111 + a112 * b112 * c112 - 1 , a111 * b211 * c111 > > + : a112 * b212 * c112 - 0 , a121 * b111 * c111

[sage-support] Re: error loading the sage libraries (setting up public Sage server) notebook directory outside of .sage don't work

2009-08-03 Thread William Stein
On Mon, Aug 3, 2009 at 9:26 AM, Serge A. Salamanka wrote: > > Dear support, > > I'm having a bit of a problem with setting up Sage public server with > several pool accounts. > > Everything is done according to recommendations on > http://wiki.sagemath.org/DanDrake/JustEnoughSageServer > except th

[sage-support] error loading the sage libraries (setting up public Sage server) notebook directory outside of .sage don't work

2009-08-03 Thread Serge A. Salamanka
Dear support, I'm having a bit of a problem with setting up Sage public server with several pool accounts. Everything is done according to recommendations on http://wiki.sagemath.org/DanDrake/JustEnoughSageServer except that I have to set up 750 permission for the group of sageusers on /home/sag

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Pierre
hi simon and dan, thanks for your answers. The thing is though, i don't intend to run sage, the full sage, on a phone (!!), but i was hoping that these state-of-the-art telephones that people seem to love could perhaps be used as conveniently as the hand-calculators we had 15 years ago. Say, you

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Dan Christensen
Pierre writes: > I was thinking about buying an android phone, and getting SAGE to work > was one of the questions, [...] > > also, now that android supports python, is it possible to install > numpy, or parts of SAGE, directly? anyone has tried that ? Pierre, As Simon pointed out, you can run

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-08-03 Thread Jason Grout
William Stein wrote: > On Sun, Aug 2, 2009 at 9:13 AM, Robert Dodier wrote: >> Robert Bradshaw wrote: >> >>> Sage lists are Python lists, which are very different than >>> Mathematica lists. >> You say that as if it's a fact of geography which can't be changed. >> >>> to change all lists would be

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Simon King
Hi Pierre, On Aug 3, 2:17 pm, Pierre wrote: > also, now that android supports python, is it possible to install > numpy, or parts of SAGE, directly? anyone has tried that ? I think this post is related: http://groups.google.com/group/sage-devel/browse_thread/thread/243dfd4ab25a2779 Cheers, S

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Pierre
I was thinking about buying an android phone, and getting SAGE to work was one of the questions, so can I take this opportunity to pick your brains ? first, how fast is SAGE on sagenb.org if you're not close to a wiki spot and use a telephone connection of some kind ? (i know in france they call

[sage-support] Re: request for help

2009-08-03 Thread Dr. David Kirkby
noufal wrote: > i have tried the binary version of sage 4.1 in mandriva 2008 spring > version but it is not possible to install please help me > I'm unlikely personally to be able to help you, but I would suggest you give as much information as possible. Like your computer, CPU, memory, exact o

[sage-support] Re: question

2009-08-03 Thread Minh Nguyen
Hi, On Mon, Aug 3, 2009 at 10:06 PM, noufal wrote: > > Is it possible to install sage 4.1 online I don't quite understand your question. Can you please elaborate further on how you want to install Sage? -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ To post t

[sage-support] Re: request for help

2009-08-03 Thread Minh Nguyen
Hi, On Mon, Aug 3, 2009 at 10:01 PM, noufal wrote: > > i have tried the binary version of sage 4.1 in mandriva 2008 spring > version but it is not possible to install please help me What's the error message you received? What's your CPU architecture? Which binary did you use? Was it the 32-bit o

[sage-support] question

2009-08-03 Thread noufal
Is it possible to install sage 4.1 online --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://

[sage-support] request for help

2009-08-03 Thread noufal
i have tried the binary version of sage 4.1 in mandriva 2008 spring version but it is not possible to install please help me --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-08-03 Thread Pierre
> not supported in pure Python. However, it could add a lot of readability and > programming easiness to Sage because a common task as a scientist is to > manipulate and transform a lot of data and (I think) the most basic > container to do that is a list. IMHO, an expression like 1 + [2,3,4,5] i