[sage-support] Re: Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Jason Grout
On 05/24/2010 02:36 PM, Rolandb wrote: Dear William, Tnx! I looked at the site http://docs.python.org/release/2.5.2/lib/module-zlib.html, and I tried several options but I could not get a working routine to convert triples_sofar.gz. Could you provide me with a (small) example? Thanks again!

[sage-support] Re: Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
Dear William, Tnx! I looked at the site http://docs.python.org/release/2.5.2/lib/module-zlib.html, and I tried several options but I could not get a working routine to convert triples_sofar.gz. Could you provide me with a (small) example? Thanks again! Roland On 24 mei, 09:12, William Stein wr

[sage-support] Galois Groups of Number Fields

2010-05-24 Thread Lisa Berger
Hi, We are computing Galois groups of number fields, and we would like to treat these group elements as field automorphisms. Using the galois_group(type="pari")---we get the Pari group. However, when we use galois_group(), we get an error message. This is new--a few weeks ago, we obtained the Gal

[sage-support] hypergeometic function

2010-05-24 Thread cedrick
I am new to sage, trying to plot a hypergeometric function, 2F_1(a+ib, a-ib, c, z) where I know the value of a and c but vary b from 0 to 10, and z from 0 to 1. I tried mpmath like below after getting an example from someone, but do not know how to use SAGE and mpmath beyond this. import mpmath f

Re: [sage-support] Re: Error when importing matplotlib from sage -python

2010-05-24 Thread Jose Guzman
On 05/23/2010 10:04 AM, Adam Webb wrote: On May 22, 11:12 pm, Jose Guzman wrote: Hi everybody When I tried to import matplotlib from the Python version that is bundled with Sage, I found that the moduled tkagg was not present. >>> import matplotlib.pyplot as plt >>> No module named

Re: [sage-support] Loading ABC triples: How to read *.gz files?

2010-05-24 Thread William Stein
On Mon, May 24, 2010 at 12:03 AM, Rolandb wrote: > Hi, > The site http://abcathome.com/data/ has a link the file > triples_sofar.gz, a database with ABC triples. I would like to use the > file within Sage. > The link is http://abcathome.com/data/triples_sofar.gz  The size is > around 162Mb; unpack

[sage-support] Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
Hi, The site http://abcathome.com/data/ has a link the file triples_sofar.gz, a database with ABC triples. I would like to use the file within Sage. The link is http://abcathome.com/data/triples_sofar.gz The size is around 162Mb; unpacked around 400Mb. Via F = get_remote_file("http://abcathome.co