[sage-support] Hermite Normalform

2011-03-14 Thread Johannes
Hi list, I'm not sure about the behavior of the hermite_form() function of an integer matrix. As far as I know the Hermeiteform H of a given matrix A, it is a unique (up to reordering of the rows and columns) triangular matrix (with some extra conditions) wich could be obtained by A * U = H for

[sage-support] quitting notebook

2011-03-14 Thread Renato
Hello, I usually run sage --notebook from bashrun (an app launcher); the fact is I don't do it from a terminal. So, how should I quit? I can't find a way from the browser to quit, and I have to open a terminal, htop, and kill one by one the processes. I could of course just launch from a

[sage-support] notebook previous entry + edit

2011-03-14 Thread Pierre
hi all, I don't usually use the notebook very much, but now i sometimes do, for various reasons. I am desperately missing one thing, and i hope it's just that i don't know the keyboard shortcut for it : how do i produce the same result as pressing the UP arrow in a terminal? I mean, bringing back

Re: [sage-support] quitting notebook

2011-03-14 Thread Ivan Andrus
Hello, I usually run sage --notebook from bashrun (an app launcher); the fact is I don't do it from a terminal. So, how should I quit? I can't find a way from the browser to quit, and I have to open a terminal, htop, and kill one by one the processes. I could of course just launch from a

Re: [sage-support] Re: prime ideals in Z_n

2011-03-14 Thread Avishek Adhikari
I fully agree with you. But it will not certainly give all prime ideals! On Sun, Mar 13, 2011 at 9:30 PM, John Cremona john.crem...@gmail.comwrote: This is not a computational question at all but an easy exercise. There is one prime ideal for each prime factor p of n, namely pZ/nZ. See any

Re: [sage-support] Re: Sage takes so many time on start up

2011-03-14 Thread David Kirkby
On 14 March 2011 19:05, Daniel M. danielmeji...@gmail.com wrote: My Hard Disk don't need defragmentation(ive checked either windows and linux), and have a little less more than a year since i bough it cuold it be a bug? Sage is known to start up quite slowly on some hardware/software. I

Re: [sage-support] Re: prime ideals in Z_n

2011-03-14 Thread John H Palmieri
On Monday, March 14, 2011 11:29:20 AM UTC-7, avishek wrote: I fully agree with you. But it will not certainly give all prime ideals! On Sun, Mar 13, 2011 at 9:30 PM, John Cremona john.c...@gmail.com wrote: This is not a computational question at all but an easy exercise. There is one

Re: [sage-support] notebook previous entry + edit

2011-03-14 Thread William Stein
On Mon, Mar 14, 2011 at 11:17 AM, Pierre pierre.guil...@gmail.com wrote: hi all, I don't usually use the notebook very much, but now i sometimes do, for various reasons. I am desperately missing one thing, and i hope it's just that i don't know the keyboard shortcut for it : how do i produce

[sage-support] Re: notebook previous entry + edit

2011-03-14 Thread Pierre
hi william,   (2) instead of having lots of big copies of the same input, define a function, e.g., def foo(a, b):     some code... and call foo repeatedly.  Your worksheet will look a lot cleaner, and there is less chance of error. I already do this... It's the dozens of calls to foo()

[sage-support] [ani...@hi.is: info]

2011-03-14 Thread Dan Drake
Hello Anil, I'm forwarding your message to the sage-support list (http://groups.google.com/forum/?pli=1#!forum/sage-support), where you can probably get more help. I have some comments but others may also be able to help. - Forwarded message from Anil Thapa ani...@hi.is - Dear Dan, I

[sage-support] linear algebra: populating a matrix

2011-03-14 Thread Ben123
Hello. I'm a new user to Sage. I am trying to create a matrix without knowing the values when it is initialized. All the examples I see have static matrices like A = matrix(QQ,2,2,[2,1,1,2]) My goal is to create a 2x2 matrix which I can then give values for later A[1][1]=5 However, I am told the

Re: [sage-support] linear algebra: populating a matrix

2011-03-14 Thread Justin C. Walker
Hi, and Welcome, On Mar 14, 2011, at 20:14 , Ben123 wrote: Hello. I'm a new user to Sage. I am trying to create a matrix without knowing the values when it is initialized. All the examples I see have static matrices like A = matrix(QQ,2,2,[2,1,1,2]) My goal is to create a 2x2 matrix which I

[sage-support] Re: linear algebra: populating a matrix

2011-03-14 Thread Ben123
Thanks for your response. I now do the following: MS=MatrixSpace(ComplexField(),2,2) A=MS(0) A[1,1]=5 I was hoping I wouldn't need to make that many changes to the python code, but this would seem to indicate Sage and Python aren't 1-to-1. Unless I'm doing something very wrong, this question

[sage-support] Re: linear algebra: populating a matrix

2011-03-14 Thread Jason Grout
On 3/14/11 11:02 PM, Justin C. Walker wrote: Hi, and Welcome, On Mar 14, 2011, at 20:14 , Ben123 wrote: Hello. I'm a new user to Sage. I am trying to create a matrix without knowing the values when it is initialized. All the examples I see have static matrices like A =

Re: [sage-support] linear algebra: populating a matrix

2011-03-14 Thread John H Palmieri
On Monday, March 14, 2011 9:02:48 PM UTC-7, Justin C. Walker wrote: Hi, and Welcome, On Mar 14, 2011, at 20:14 , Ben123 wrote: Hello. I'm a new user to Sage. I am trying to create a matrix without knowing the values when it is initialized. All the examples I see have static matrices