Re: [sage-notebook] Re: [sage-support] Re: Exporting data from sage notebook

2012-03-26 Thread Vincent Knight
Thanks, using the del statement does work but I have to admit that it would be great if this was easier to find out (perhaps it is and I've just been looking in the wrong place). Thanks, Vince On 26 March 2012 04:39, Dima Pasechnik dimp...@gmail.com wrote: On Monday, 26 March 2012 05:12:12

[sage-support] Re: how to construct a splitting field of a polynomial

2012-03-26 Thread David Loeffler
Dear Ben, I'm afraid that Sage's number field functionality uses PARI heavily, and the PARI guys have made a policy decision not to try and support number fields defined by polynomials that aren't integral or aren't monic. This is one of the oldest tickets in the Sage bug tracker

Re: [sage-support] Re: how to construct a splitting field of a polynomial

2012-03-26 Thread William Stein
On Mon, Mar 26, 2012 at 4:41 AM, David Loeffler dave.loeff...@gmail.com wrote: Dear Ben, I'm afraid that Sage's number field functionality uses PARI heavily, and the PARI guys have made a policy decision not to try and support number fields defined by polynomials that aren't integral or

Re: [sage-support] Re: how to construct a splitting field of a polynomial

2012-03-26 Thread Ben
Thanks, this exactly fixes what I'm trying to do. Ben -- 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: [sage-notebook] Re: Re: Exporting data from sage notebook

2012-03-26 Thread Jason Grout
On 3/25/12 10:39 PM, Dima Pasechnik wrote: wow, *deleting* does this?! I duly sought close() method for output, didn't find it... I wouldn't use the del method, even if it may work, just because it looks so odd compared to usual file paradigms. Searching for cvs writer python empty file on

Re: [sage-support] Re: [sage-notebook] Re: Re: Exporting data from sage notebook

2012-03-26 Thread Vincent Knight
Thanks, I don't suppose it would be worth someone trying to implement a simpler import/export function? I'm a lot happier with the underlying python now so it's not too big a deal but for a beginner this could be a bit of a sticking point (it was for me). Cheers, Vince On 26 March 2012 14:22,

[sage-support] Deriving an irreducible polynomial for F_2

2012-03-26 Thread Zimmermann Paul
Dear Clinton, all irreducible polynomials of degree n over GF(2) can be obtained by factoring x^(2^n)+x, and keeping only factors of degree n: sage: P.x = GF(2)[] sage: factor(x^(2^5)+x) x * (x + 1) * (x^5 + x^2 + 1) * (x^5 + x^3 + 1) * (x^5 + x^3 + x^2 + x + 1) * (x^5 + x^4 + x^2 + x +

[sage-support] Re: semidefinite programming using csdp -- python import errors

2012-03-26 Thread Dima Pasechnik
On 2012-03-25, Emil emi...@gmail.com wrote: I've also been using CSDP from Sage lately. I am calling the stand-alone program, rather than using the Python interface (which isn't a very good solution). why? Is it buggy? I was wondering whether using pycsdp is the right way to go though.

Re: [sage-support] Re: semidefinite programming using csdp -- python import errors

2012-03-26 Thread Emil
On 26 March 2012 17:37, Dima Pasechnik dimp...@gmail.com wrote: On 2012-03-25, Emil emi...@gmail.com wrote: I've also been using CSDP from Sage lately. I am calling the stand-alone program, rather than using the Python interface (which isn't a very good solution). why?  Is it buggy? Well,

[sage-support] sage-4.8 Installation failed in ubuntu 10.04

2012-03-26 Thread AD
I was trying to install sage-4.8 from source in ubuntu 10.04. I had downloaded the sage-4.8.tar archive, created the sage-4.8 directory and then used the command make. After nearly two hours, I got the report (only relevant part is shown below):

[sage-support] Problem signing out fully from sage-4.8

2012-03-26 Thread AD
I am using sage-4.8 in ubuntu 10.04. My requirement is very simple: I need to open the notebook interface, do some work, save my work and then sign out, close sage-4.8 application. So I use these commands sequentially: 1. ./sage (in the directory where sage is installed) 2. notebook() (at sage

[sage-support] Re: semidefinite programming using csdp -- python import errors

2012-03-26 Thread Dima Pasechnik
On 2012-03-26, Emil emi...@gmail.com wrote: On 26 March 2012 17:37, Dima Pasechnik dimp...@gmail.com wrote: On 2012-03-25, Emil emi...@gmail.com wrote: I've also been using CSDP from Sage lately. I am calling the stand-alone program, rather than using the Python interface (which isn't a very

[sage-support] Re: Problem signing out fully from sage-4.8

2012-03-26 Thread P Purkayastha
Just type Ctrl-C and that will stop the server. On Tuesday, March 27, 2012 11:41:39 AM UTC+8, AD wrote: I am using sage-4.8 in ubuntu 10.04. My requirement is very simple: I need to open the notebook interface, do some work, save my work and then sign out, close sage-4.8 application. So I