[sage-support] Re: Mixing tab and spaces on the LiveCD

2011-10-26 Thread Keshav Kini
I agree, that sounds like a good idea. -Keshav Join us in #sagemath on irc.freenode.net ! -- 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

[sage-support] Re: sagenb issues

2011-10-26 Thread MichTex
I have been using sagenb without difficulty now for several days. I've been using it again this morning, but just now I started getting the 'could not connect to www.sagenb.org' message when I tried to save my worksheet. I tried opening another window to sagenb and got the same result. After a

Re: [sage-support] Re: sagenb issues

2011-10-26 Thread William Stein
On Wed, Oct 26, 2011 at 8:44 AM, MichTex bill.cav...@gmail.com wrote: I have been using sagenb without difficulty now for several days. I've been using it again this morning, but just now I started getting the 'could not connect to www.sagenb.org' message when I tried to save my worksheet. I

[sage-support] Re: Mixing tab and spaces on the LiveCD

2011-10-26 Thread emil
On Oct 19, 3:05 pm, Laurent moky.m...@gmail.com wrote:     Hi all    Sage's developer prescriptions is to use spaces and no tab. The default editor on the LiveCD uses TAB ... well.    I got some troubles with that when I used on the live cd a program I wrote in my normal editor.    

[sage-support] ValueError when using np.random.seed()

2011-10-26 Thread Jose Guzman
Hi everybody, When trying to set a seed in Sage: sage: import numpy as np sage: np.random.seed(10) I've got the following error: sage: np.random.seed(10) --- ValueError Traceback (most recent call last)

[sage-support] Re: ValueError when using np.random.seed()

2011-10-26 Thread Jason Grout
On 10/26/11 2:41 PM, Jose Guzman wrote: Hi everybody, When trying to set a seed in Sage: sage: import numpy as np sage: np.random.seed(10) I've got the following error: sage: np.random.seed(10) --- ValueError Traceback

Re: [sage-support] Re: ValueError when using np.random.seed()

2011-10-26 Thread D. S. McNeil
thread hijack but not really Most likely, the problem here is that numpy doesn't recognize Sage Integer objects as being convertable to python integers.  I think this is a failing of numpy (it should check the __index__ method to see if it can convert the Integer to a python integer).

[sage-support] Re: ValueError when using np.random.seed()

2011-10-26 Thread Jason Grout
On 10/26/11 4:20 PM, D. S. McNeil wrote: thread hijack but not really Most likely, the problem here is that numpy doesn't recognize Sage Integer objects as being convertable to python integers. I think this is a failing of numpy (it should check the __index__ method to see if it can convert

[sage-support] Re: ValueError when using np.random.seed()

2011-10-26 Thread Jason Grout
On 10/26/11 4:20 PM, D. S. McNeil wrote: thread hijack but not really Most likely, the problem here is that numpy doesn't recognize Sage Integer objects as being convertable to python integers. I think this is a failing of numpy (it should check the __index__ method to see if it can convert

[sage-support] how do i create the direct sums of two representations whose matricies lie over different base fields

2011-10-26 Thread martyall
I have two algebraic number fields QQ(alpha), QQ(beta), and I want to compute the smallest field containing both of these fields. The reason I need to do this is as follows: I have matrix representations V1 of G1, and V2 of G2. V1 is given over QQ(alpha) and V2 is given over QQ(beta). I am