[sage-support] Jocobi Symbol

2009-07-19 Thread Santanu Sarkar
How Jacobi Symbol (a/N) can be calculate in Sage 4.1 --~--~-~--~~~---~--~~ 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

[sage-support] Re: Jocobi Symbol

2009-07-19 Thread Alex Ghitza
Try sage: kronecker_symbol(a, N) with a and N your favourite integers. Best, Alex On Sun, Jul 19, 2009 at 4:28 PM, Santanu Sarkarsarkar.santanu@gmail.com wrote: How Jacobi Symbol (a/N) can be calculate in Sage 4.1 -- Alex Ghitza -- Lecturer in Mathematics -- The University of

[sage-support] Re: Jocobi Symbol

2009-07-19 Thread Santanu Sarkar
Thank you. 2009/7/19 Alex Ghitza aghi...@gmail.com Try sage: kronecker_symbol(a, N) with a and N your favourite integers. Best, Alex On Sun, Jul 19, 2009 at 4:28 PM, Santanu Sarkarsarkar.santanu@gmail.com wrote: How Jacobi Symbol (a/N) can be calculate in Sage 4.1

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
Thank you all for your responses. Doing soime googling around, I discovered that that openSuSE 11.1 has the same problem with evince I encountered. I followed William's advice above and, before firing up sage (as a normal user), I exported the SAGE-BROWSER environment variable as

[sage-support] Re: Problem with show

2009-07-19 Thread Jason Grout
linuxgus wrote: Thank you all for your responses. Doing soime googling around, I discovered that that openSuSE 11.1 has the same problem with evince I encountered. I followed William's advice above and, before firing up sage (as a normal user), I exported the SAGE-BROWSER environment

[sage-support] Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Hello, I'm trying to install the optional package gnuplotpy-1.7.p3, but when I try to install it by typing ./sage -i gnuplotpy-1.7.p3, I get an error. The extraction finished successfully but the installation failed. Here is the traceback : Traceback (most recent call last): File setup.py,

[sage-support] Re: how to get sage for ubuntu hardy

2009-07-19 Thread pang
Bruce Cohenwrote: I am running sage-4.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux on Ubuntu 8.04.1, kernel 2.6.24-19-generic. Thanks for th tip! I tried it and it failed, but it's probably because I ran it from the chroot jail that I use to build the custom live dvd. The kernel in the

[sage-support] Re: how to get sage for ubuntu hardy

2009-07-19 Thread pang
Bruce Cohenwrote: I am running sage-4.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux on Ubuntu 8.04.1, kernel 2.6.24-19-generic. Thanks for th tip! I tried it and it failed, but it's probably because I ran it from the chroot jail that I use to build the custom live dvd. The kernel in the

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
On Jul 19, 3:42 am, Jason Grout jason-s...@creativetrax.com wrote: What if you set SAGE_BROWSER to kde-open?  That will open different programs, based on the format.  I think it's similar to the apple open command. I did. kdvi was ultimately invoked with exactly the same result as above

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread MaxTheMouse
On Jul 19, 11:31 am, mourad gouicem gouicem.mou...@gmail.com wrote: Hello, I'm trying to install the optional package gnuplotpy-1.7.p3, but when I try to install it by typing ./sage -i gnuplotpy-1.7.p3, I get an error. The extraction finished successfully but the installation failed.

[sage-support] Re: primitive k-th root of unity

2009-07-19 Thread Laurent
On a similar note, anybody know why I can't get sage to equate e^ (theta*I) == cos(theta) + I*sin(theta) ? I don't know. Sage uses Maxima. Does maxima know Euler's formula? I suppose that Sage knows Euler's formula because sage: var('x') x sage: real_part(e^(I*x))

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread MaxTheMouse
Just to add a quick note. I installed gnuplot.py 1.8 and was able to run the included test.py. You will have to try it on your own code though. Adam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Thank you for your answer, Can you tell me more precisely how do I install it and what do you mean by You can try to install the new one directly using the python with Sage? I've downloaded gnuplot.py (1.8) and installed it by running python setup.py install, but this command installs the

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread William Stein
On 7/19/09, mourad gouicem gouicem.mou...@gmail.com wrote: Thank you for your answer, Can you tell me more precisely how do I install it and what do you mean by You can try to install the new one directly using the python with Sage? I've downloaded gnuplot.py (1.8) and installed it by

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Thank you very much, It works On 19 juil, 19:37, William Stein wst...@gmail.com wrote: On 7/19/09, mourad gouicem gouicem.mou...@gmail.com wrote: Thank you for your answer, Can you tell me more precisely how do I install it and what do you mean by You can try to install the new one

[sage-support] Re: Problem building Sage 4.1 from source on CENTOS 4.7

2009-07-19 Thread William Stein
2009/7/16 Dr. David Kirkby david.kir...@onetel.net: William Stein wrote: Install GCC =4.1.x.  -- William Is that a requirement? Someone said yesterday 3.4 was ok. 3.4 used to be OK. The new ratpoints packages that Robert Miller introduced in Sage-4.x does not build with gcc-3.x, so as

[sage-support] Re: Problem with show

2009-07-19 Thread John H Palmieri
On Jul 16, 11:02 pm, linuxgus ka8...@amsat.org wrote: Hi all, If I DON'T use notebook and type a simple program like, sage: t,s=var('t,s') sage: show(laplace(exp(-3*t),t)) an evince window pops up with the error message Unable to open document File type TeX DVI document

[sage-support] Re: Problem with show

2009-07-19 Thread David Joyner
On Sun, Jul 19, 2009 at 11:29 AM, linuxguska8...@amsat.org wrote: On Jul 19, 3:42 am, Jason Grout jason-s...@creativetrax.com wrote: What if you set SAGE_BROWSER to kde-open?  That will open different programs, based on the format.  I think it's similar to the apple open command. I

[sage-support] parallel in sage singular

2009-07-19 Thread john_perry_usm
Hi, I tried the @parallel decorator with Singular's reduce routine: basically, I passed a bunch of polynomials in a list. The result took *much* longer, unlike (say) the examples with factor(). sage: R.x,y = GF(32003) sage: p = 0 sage: for i in range(100): : p = p + x^(2*i)*y^i sage:

[sage-support] Re: numerical eigenforms

2009-07-19 Thread William Stein
2009/7/15 rje rev...@ucsd.edu: What is going on here? Does this only work for even weights? rje sage: n=numerical_eigenforms(15,3);n.ap(2) [] Type sage: numerical_eigenforms? and read it. In particular, the first input is the group and if a number N is given that it just defaults to

[sage-support] Re: Square root problem

2009-07-19 Thread Utpal Sarkar
isqrt returns the integer part (floor) of a square root. On Jul 17, 7:33 am, Santanu Sarkar sarkar.santanu@gmail.com wrote: Thank you. 2009/7/16 Marshall Hampton hampto...@gmail.com I'm not quite sure what you want, but for example sage: B = sqrt(1000) sage: floor(B) 31

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
On Jul 19, 2:54 pm, John H Palmieri jhpalmier...@gmail.com wrote: How about if you try sage: latex.pdflatex(True) first? --I did set latex.pdflatex(True) and set the SAGE_BROWSER environment variable to kde-open. This time a PDF reader popped up (as it should) but the content was still