[sage-support] Re: Help! Why the polynomial is not generated for "Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2"

2009-05-27 Thread Sajan.S
Hi Martin, One more doubt. In the above example, i have given 8 input and 8 output to the sbox. Is it possible to give 8 input and 6 output to the sbox. Eg: P= PolynomialRing(GF(2),14,"y0, y1, y2, y3, y4, y5, x0, x1, x2, x3, x4, x5, x6, x7",order='lex'); Above code is not tested. but for 6 b

[sage-support] using C code with ctypes module

2009-05-27 Thread mourad gouicem
Hello, I'm trying to use some C code I've written, using the ctypes module. So, I've compile my C code into a shared object and written the following code into the sage notebook : from ctypes import * myobj=CDLL("/home/mourad/Documents/PSTL/Simulator/simulator.so") #I specify the return type of

[sage-support] Re: Help! Why the polynomial is not generated for "Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2"

2009-05-27 Thread Martin Albrecht
On Wednesday 27 May 2009, Sajan.S wrote: > Hi Martin, > > One more doubt. > > In the above example, i have given 8 input and 8 output to the sbox. > > Is it possible to give 8 input and 6 output to the sbox. > > Eg: > > P= PolynomialRing(GF(2),14,"y0, y1, y2, y3, y4, y5, x0, x1, x2, x3, > x4, x5,

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread Kim, In-Jae
Can I get some help on this memory issue in Ubuntu to download sage 3.4.2? I am a beginner of Linux/Ubuntu, and have no idea where I should look at. From: sage-support@googlegroups.com [sage-supp...@googlegroups.com] On Behalf Of William Stein [wst...@gma

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread Jan Groenewald
Hi Kim On Wed, May 27, 2009 at 08:17:59AM -0500, Kim, In-Jae wrote: > Can I get some help on this memory issue in Ubuntu to download sage 3.4.2? > I am a beginner of Linux/Ubuntu, and have no idea where I should look at. What kind of PC is that with only half a gig of disk space? Is it some kind

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread David Joyner
On Wed, May 27, 2009 at 9:17 AM, Kim, In-Jae wrote: > > Can I get some help on this memory issue in Ubuntu to download sage 3.4.2? > I am a beginner of Linux/Ubuntu, and have no idea where I should look at. Maybe you can google "resizing partitions in ubuntu" (without the quotes) to get an idea

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread Kim, In-Jae
I wanted to use sage in Linux system so that I installed Ubuntu using VirtualBox into my laptop with Window Vista OS. The version of Ubuntu that I have is 9.04. From: sage-support@googlegroups.com [sage-supp...@googlegroups.com] On Behalf Of Jan Groen

[sage-support] Re: notebook, folding

2009-05-27 Thread Kevin Horton
On Tue, May 26, 2009 at 6:46 PM, Jason Grout wrote: > > William Stein wrote: > > On Tue, May 26, 2009 at 3:21 PM, gerhard wrote: > >> Still trying to formulate this... > >> > >> Looking at the html source of a notebook, > >> it looks like the output from a cell is in its own , > >> so folding and

[sage-support] Re: Help! Why the polynomial is not generated for "Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2"

2009-05-27 Thread Saj
Hi martin, patch is not working! See the error! RuntimeError Traceback (most recent call last) /usr/local/src/ in () /usr/local/src/sage-3.4.2/local/lib/python2.5/site-packages/sage/misc/ hg.pyc in import_patch(self, filename, options) 425 if filenam

[sage-support] Re: Help! Why the polynomial is not generated for "Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2"

2009-05-27 Thread Martin Albrecht
On Wednesday 27 May 2009, Saj wrote: > Hi martin, > > patch is not working! > > See the error! > > > > RuntimeError Traceback (most recent call > last) > > /usr/local/src/ in () > > /usr/local/src/sage-3.4.2/local/lib/python2.5/site-packages/sage/misc/ > hg.pyc in imp

[sage-support] checking for inequality between characters

2009-05-27 Thread rje
sage: X=DirichletGroup(6).list(); sage: X[0] [1, 1] sage: X[0]<>[1, 1] True -- Why is this True, and what's the corrected syntax? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] checking for inequality between characters

2009-05-27 Thread rje
sage: X=DirichletGroup(6).list(); sage: X[0] [1, 1] sage: X[0]<>[1, 1] True -- Why is this True, and what's the corrected syntax? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: checking for inequality between characters

2009-05-27 Thread davidloeffler
Here X[0] isn't the list [1, 1]. It's a Dirichlet character that takes the values [1,1] on the generators of the multiplicative group mod 6. So it doesn't compare as equal to the list of integers [1, 1] and there are many good reasons why it shouldn't. Perhaps what you are looking for is sage: G

[sage-support] Install problems

2009-05-27 Thread mathgeek
So I just got the Ubuntu 9.04 netbook remix and installed sage through the terminal by typing Sage and then it asked me if I wanted to install... So I said yes and it did... Now I am having a lot of difficulties with it. When I try to run a test, all I get is: sage: -testall -

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread Johan Oudinet
On Wed, May 27, 2009 at 4:34 PM, Kim, In-Jae wrote: > > I wanted to use sage in Linux system so that I installed Ubuntu using > VirtualBox into my laptop with Window Vista OS.  The version of Ubuntu that I > have is 9.04. > You had created a virtual machine without enough disk space. You shoul

[sage-support] login loop

2009-05-27 Thread Dart
I get to the sage login in VMware Player. Of the four choices, I try "notebook", since that is what the sage txt file said. After hitting "enter", the window blinks and then comes back with exactly the same login prompt. When I try "sage" instead, I got several pages of stuff I couldn't

[sage-support] Re: Install problems

2009-05-27 Thread Dan Drake
On Wed, 27 May 2009 at 02:11PM -0700, mathgeek wrote: > So I just got the Ubuntu 9.04 netbook remix and installed sage through > the terminal by typing Sage and then it asked me if I wanted to > install... So I said yes and it did... Now I am having a lot of > difficulties with it. When I try to ru

[sage-support] Re: Install problems

2009-05-27 Thread William Stein
On Wed, May 27, 2009 at 4:49 PM, Dan Drake wrote: > On Wed, 27 May 2009 at 02:11PM -0700, mathgeek wrote: >> So I just got the Ubuntu 9.04 netbook remix and installed sage through >> the terminal by typing Sage and then it asked me if I wanted to >> install... So I said yes and it did... Now I am

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread Kim, In-Jae
Thank you all. I found that I was running Ubutu on CD ROM without actually installing Ubuntu using VirtualBox. I installed Ubuntu properly, and memory problem disappeared. I now have sage 3.4.2 installed, which is working well. From: sage-support@googlegr

[sage-support] Saving sage output?

2009-05-27 Thread Baruch
Please note that I am a complete noob here. I've tried to find the answer myself, but don't know quite where to turn. I wanted to save the output of a brief script. I used the logstart instruction, 'logstart -o filename'. This seemed to give me what I wanted - the response to this instruction

[sage-support] Re: Help! Why the polynomial is not generated for "Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2"

2009-05-27 Thread Saj
Hi martin, Thanks for your comment! Can u help me how to do that, with/without sage 4.0. I never worked with hg diff. Thanks & Regards, Sajan.S On May 27, 10:44 pm, Martin Albrecht wrote: > On Wednesday 27 May 2009, Saj wrote: > > > > > Hi martin, > > > patch is not working! > > > See the er