[sage-support] Re: How to compute half-weight coefficients?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 1:47 PM, Kim wrote: > > Is there a way to compute coefficients of half-integral-weight modular > forms in Sage? > > Specifically I want the coefficients of the weight 5/2 form on Gamma_0 > (4*13) that is in Shimura-Kohnen correspondence with the weight 4 > newform (of degr

[sage-support] Re: Notebook Plotting

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 3:32 PM, bizoid wrote: > > Sage Support: > > I am a new Sage user and I have a question regarding the plot function > in Notebook. > > Below is a little snippet of code I wrote to plot the Bessel_J > function for various nu on different intervals. The snippet below is > j

[sage-support] Notebook Plotting

2009-01-30 Thread bizoid
Sage Support: I am a new Sage user and I have a question regarding the plot function in Notebook. Below is a little snippet of code I wrote to plot the Bessel_J function for various nu on different intervals. The snippet below is just an exercise in learning python and its plot function. I hav

[sage-support] How to compute half-weight coefficients?

2009-01-30 Thread Kim
Is there a way to compute coefficients of half-integral-weight modular forms in Sage? Specifically I want the coefficients of the weight 5/2 form on Gamma_0 (4*13) that is in Shimura-Kohnen correspondence with the weight 4 newform (of degree 1) on Gamma_0(13). The first few coefficients of the w

[sage-support] Re: problem with GraphDatabase

2009-01-30 Thread Jason Grout
davidp wrote: > Hi, > > Cutting and pasting commands from the Reference: > > http://sagemath.org/doc/ref/node47.html > > gives me: > > === >>> sage > -- > | Sage Version 3.2.2, Release Date:

[sage-support] problem with GraphDatabase

2009-01-30 Thread davidp
Hi, Cutting and pasting commands from the Reference: http://sagemath.org/doc/ref/node47.html gives me: === >> sage -- | Sage Version 3.2.2, Release Date: 2008-12-18 | |

[sage-support] Factorization

2009-01-30 Thread Paul Zimmermann
> I want to collect all divisors less than 2^30 of a large positive integer N > using Elliptic Curve Factorization Method. How this is possible using SAGE? William pointed out the Cython interface to GMP-ECM. However this does not completely answer your question, since it will only find *some* f

[sage-support] Re: How can I make a topographic map with Sage?

2009-01-30 Thread Benjamin J. Racine
A fellow named Gael Varoquaux uses the topographic map of France as a common example for showing off mayavi (a 3D vtk-based viz tool) so this may be more of an Enthought Python Distribution question (vs. sage). Mayavi may be found here: http://mayavi.sourceforge.net/ and perhaps elsewhere. I

[sage-support] Re: Iterators in compiled code?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 7:23 AM, Jason Grout wrote: > Is there a reason you didn't use the less scary alternative below, other > than avoiding one function call? > > v = iter(Permutations(range(n))) > I didn't use that because I woke up a few minutes ago and I'm still groggy. :-) William --~--

[sage-support] Re: Iterators in compiled code?

2009-01-30 Thread Jason Grout
William Stein wrote: > On Fri, Jan 30, 2009 at 4:23 AM, Alasdair wrote: >> I was recently experimenting with iterators over permutations, and >> using them to find if a graph was Hamiltonian. This was done by brute >> force - no clever tricks - simply by trying every possible permutation >> of v

[sage-support] Re: Iterators in compiled code?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 7:19 AM, Jason Grout wrote: > > William Stein wrote: >> On Fri, Jan 30, 2009 at 4:23 AM, Alasdair wrote: >>> I was recently experimenting with iterators over permutations, and >>> using them to find if a graph was Hamiltonian. This was done by brute >>> force - no clever

[sage-support] Re: Iterators in compiled code?

2009-01-30 Thread Jason Grout
William Stein wrote: > On Fri, Jan 30, 2009 at 4:23 AM, Alasdair wrote: >> I was recently experimenting with iterators over permutations, and >> using them to find if a graph was Hamiltonian. This was done by brute >> force - no clever tricks - simply by trying every possible permutation >> of v

[sage-support] Re: ILLEGAL INSTRUCTION sse4_pni

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 4:47 AM, littlemathteacher wrote: > > I am running Sage 3.2.3 on an old Pentium 4 M with Ubuntu Linux for > some hours now and I am getting the well known ILLEGAL INSTRUCTION > message: Precisely which binary did you install? Was it this one: http://sagemath.org/bin/lin

[sage-support] Re: Iterators in compiled code?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 4:23 AM, Alasdair wrote: > > I was recently experimenting with iterators over permutations, and > using them to find if a graph was Hamiltonian. This was done by brute > force - no clever tricks - simply by trying every possible permutation > of vertices and seeing if eac

[sage-support] ILLEGAL INSTRUCTION sse4_pni

2009-01-30 Thread littlemathteacher
I am running Sage 3.2.3 on an old Pentium 4 M with Ubuntu Linux for some hours now and I am getting the well known ILLEGAL INSTRUCTION message: ... The following processor flags were on the build machine but are not on this computer: sse4_1 pni I am running Sage Notebook in my browser and as fa

[sage-support] Jmol applets disappear

2009-01-30 Thread HÃ¥kan Granath
Hi, Having several Jmol plots in a worksheet often leads to problem for me. For example, the following procedure consistently gives failure: 1. Open a new worksheet. 2. Create two cells with content "sphere()" and evaluate them. Two Jmol plots appear. 3. Save and quit the worksheet. 4. Load t

[sage-support] Iterators in compiled code?

2009-01-30 Thread Alasdair
I was recently experimenting with iterators over permutations, and using them to find if a graph was Hamiltonian. This was done by brute force - no clever tricks - simply by trying every possible permutation of vertices and seeing if each was a cycle. Now there seem to be (at least) two ways of

[sage-support] Re: How can I make a topographic map with Sage?

2009-01-30 Thread Jason Grout
David Joyner wrote: > I don't know if there is anything Sage specific. However, Sage contains > matplotlib, which apparently can do such things. For example, I googled > maps matplotlib and got this: > http://www.scipy.org/Cookbook/Matplotlib/Maps For the interested developer: http://trac.sagem