[sage-support] Re: How do I show a permutation group is the alternating group?

2009-05-04 Thread Michael Welsh
sage: B=PermutationGroup(['(1,2,4,5,3)','(2,3,1,4,5)']) sage: B == AlternatingGroup(5) True sage: B == AlternatingGroup(7) False On 5/05/2009, at 6:47 PM, jimfar wrote: > I have generated a group using, > sage: B=PermutationGroup(['(1,2,4,5,3)','(2,3,1,4,5)']) > And I know I can generate a list

[sage-support] How do I show a permutation group is the alternating group?

2009-05-04 Thread jimfar
I have generated a group using, sage: B=PermutationGroup(['(1,2,4,5,3)','(2,3,1,4,5)']) And I know I can generate a list of the elements and determine the order, but how do I show that this is actually sage: AlternatingGroup(5). Is there a command to verify that B=AlternatingGroup(5)? --~--~

[sage-support] Re: Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread liji.ma...@gmail.com
Thanks for your help. sage:special.iti0k0(1.0)[0] In SAGE,the integral can be used as special.iti0k0(1.0)[0], when I use it as special.iti0k0(1)[0],the programme breaks an error! But special.iti0k0(1)[0] works well in python. On 5月4日, 下午9时03分, David Joyner wrote: > Maybe you want the following?

[sage-support] Re: quotient poly ring and field

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 1:07 PM, gtg wrote: > > Hi I'm new to sage. Can you tell me how to construct finite fields > using quotient of poly ring? For instance suppose I want to construct > GF(5^2) using a GF(5) poly ring mod out by x^2 + x + 1 how do I do > that? I can construct the quotient like

[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-04 Thread mabshoff
On May 4, 4:25 pm, gsw wrote: > Hi all, Hi Georg, > after several attempts I was able to produce a Sage-3.4.1dmg the > contents of which are "drag-and-droppable", and the issue should not > arise again (knock on wood) for future versions of Sage. Well, since it always worked for me AFAIK

[sage-support] Re: problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread mabshoff
On May 4, 12:49 pm, Alessandro Torre wrote: > Hi.Here is the requested output > (http://groups.google.com/group/sage-support/browse_thread/thread/df50... > ) > > Good Work. > Alessandro Hi Alessandro, in the subsequent email you disassembled the whole file. What I wanted was the output from

[sage-support] Re: SageWorld

2009-05-04 Thread Serge A. Salamanka
I describe the idea and technical issues in more details here: http://sageworldmath.blogspot.com/ # Serge --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr

[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-04 Thread gsw
Hi all, after several attempts I was able to produce a Sage-3.4.1dmg the contents of which are "drag-and-droppable", and the issue should not arise again (knock on wood) for future versions of Sage. Sorry for that! I expect Sage 3.4.2 to be out before the end of the week, so you might want to

[sage-support] Re: SageWorld

2009-05-04 Thread Serge A. Salamanka
See inline below. Robert Bradshaw пишет: > On Apr 30, 2009, at 10:13 PM, William Stein wrote: > >> On Thu, Apr 30, 2009 at 10:05 PM, Robert Bradshaw >> wrote: >>> On Apr 29, 2009, at 3:00 PM, Serge Salamanka wrote: >>> Is it a good idea to share objects between python processes with the >

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread ma...@mendelu.cz
Hi On 4 Kvě, 11:56, mabshoff wrote: > > Hello, not related to Sage, but if I remember correctly, newer Maxima > > is in Debian Sid (compiled with GCL). This Sid version is slower than > > 5.13 (with GCL also). > > Do you have any idea why that is and how much slowdown there is? What > specifical

[sage-support] Re: quotient poly ring and field

2009-05-04 Thread John H Palmieri
On May 4, 1:07 pm, gtg wrote: > Hi I'm new to sage. Can you tell me how to construct finite fields > using quotient of poly ring? For instance suppose I want to construct > GF(5^2) using a GF(5) poly ring mod out by x^2 + x + 1 how do I do > that? I can construct the quotient like this: > > p = 5

[sage-support] quotient poly ring and field

2009-05-04 Thread gtg
Hi I'm new to sage. Can you tell me how to construct finite fields using quotient of poly ring? For instance suppose I want to construct GF(5^2) using a GF(5) poly ring mod out by x^2 + x + 1 how do I do that? I can construct the quotient like this: p = 5 F = GF(p) R. = F['x'] f = x * x + x + 1 S

[sage-support] problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread Alessandro Torre
I forgot the files... --~--~-~--~~~---~--~~ 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 http://groups.google.com/gr

[sage-support] problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread Alessandro Torre
Hi.Here is the requested output ( http://groups.google.com/group/sage-support/browse_thread/thread/df502c9e16565886 ) Good Work. Alessandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: Yet another zeta question

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 12:41 PM, Robert Bradshaw wrote: > > On May 4, 2009, at 12:22 PM, William Stein wrote: > >> On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: >>> >>> In order to plot zeta for real input, I have to do the following: >>> def Zeta(x): >>>    return RR(zeta(x)) >>> plot(Zeta,2

[sage-support] Re: Dirichlet series

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 11:19 AM, kcrisman wrote: > >> Actually, Dokchitser's algorithm only handles functions with finitely >> many poles, so it won't be able to handle this if L(s) = 1/zeta(s). > > Yes, the series which comes from Moebius mu ends up being 1/zeta, > essentially "because" mu is the Di

[sage-support] Re: Yet another zeta question

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 12:22 PM, William Stein wrote: > On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: >> >> In order to plot zeta for real input, I have to do the following: >> def Zeta(x): >>return RR(zeta(x)) >> plot(Zeta,2,20) >> >> This is because >> sage: zeta(2) >> 1.64493406684823 >> s

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread Jaap Spies
Mike Hansen wrote: > On Mon, May 4, 2009 at 12:19 PM, Jaap Spies wrote: >> Another Python builtin is pow(), but how is it possible that >> type(pow(2,9,11)) returns >> >> >> Or am I mistaken? > > The pow() builtin just calls __pow__ on the first argument in that > case, which we control so we c

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 12:23 PM, Mike Hansen wrote: > > On Mon, May 4, 2009 at 12:19 PM, Jaap Spies wrote: >> Another Python builtin is pow(), but how is it possible that >> type(pow(2,9,11)) returns >> >> >> Or am I mistaken? > > The pow() builtin just calls __pow__ on the first argument in th

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread Mike Hansen
On Mon, May 4, 2009 at 12:19 PM, Jaap Spies wrote: > Another Python builtin is pow(), but how is it possible that > type(pow(2,9,11)) returns > > > Or am I mistaken? The pow() builtin just calls __pow__ on the first argument in that case, which we control so we can return one of our types. len

[sage-support] Re: Yet another zeta question

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: > > In order to plot zeta for real input, I have to do the following: > def Zeta(x): >    return RR(zeta(x)) > plot(Zeta,2,20) > > This is because > sage: zeta(2) > 1.64493406684823 > sage: type(zeta(2)) > > > which seems odd to me that pure real

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread Jaap Spies
Robert Bradshaw wrote: > On May 4, 2009, at 10:45 AM, kcrisman wrote: > len() is a Python builtin, which is a good indication that it will > return Python types (especially when acting on a Python type). In > fact, there's no way on the c-api level to return a Sage integer, as > len() alway

[sage-support] Yet another zeta question

2009-05-04 Thread kcrisman
In order to plot zeta for real input, I have to do the following: def Zeta(x): return RR(zeta(x)) plot(Zeta,2,20) This is because sage: zeta(2) 1.64493406684823 sage: type(zeta(2)) which seems odd to me that pure real complex number won't coerce to the real field, or to float (which is what

[sage-support] Re: Dirichlet series

2009-05-04 Thread kcrisman
> Actually, Dokchitser's algorithm only handles functions with finitely   > many poles, so it won't be able to handle this if L(s) = 1/zeta(s). Yes, the series which comes from Moebius mu ends up being 1/zeta, essentially "because" mu is the Dirichlet inverse of the unit function u (where u(n)=1

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 11:13 AM, kcrisman wrote: > >> >>> I assume this is known, but I am wondering whether it should be >> >>> treated as a bug, >> >> >> This is not a bug.  It's a stupid design decision in Python, which we > > Right, I knew that Python ints behaved this way, I was just surpris

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread kcrisman
> >>> I assume this is known, but I am wondering whether it should be > >>> treated as a bug, > > >> This is not a bug.  It's a stupid design decision in Python, which we Right, I knew that Python ints behaved this way, I was just surprised that somehow in Sage / didn't change this - I guess it's

[sage-support] Re: Dirichlet series

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 10:52 AM, Robert Bradshaw wrote: > On May 4, 2009, at 8:57 AM, kcrisman wrote: > >> Dear Support, >> >> There are several calculators in reference/lfunctions.html for L- >> functions. However, I am not quite sure what to do if I want a >> "Dirichlet series" coming not from a c

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread mabshoff
On May 4, 11:01 am, Robert Bradshaw wrote: > On May 4, 2009, at 10:53 AM, William Stein wrote: > Good point, I hadn't though about that. We could introduce a size()   > or cardinality() method that returns an Integer, or possibly infinity. Combinat already uses cardinality() since they need

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 11:01 AM, Robert Bradshaw wrote: > > On May 4, 2009, at 10:53 AM, William Stein wrote: > >> On Mon, May 4, 2009 at 10:45 AM, kcrisman wrote: >>> >>> Dear support, >>> >>> I assume this is known, but I am wondering whether it should be >>> treated as a bug, >> >> This is no

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 10:53 AM, William Stein wrote: > On Mon, May 4, 2009 at 10:45 AM, kcrisman wrote: >> >> Dear support, >> >> I assume this is known, but I am wondering whether it should be >> treated as a bug, > > This is not a bug. It's a stupid design decision in Python, which we > have to

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 10:45 AM, kcrisman wrote: > Dear support, > > I assume this is known, but I am wondering whether it should be > treated as a bug, or whether someone using len() on lists should be > assumed to know it might then be operated on with Python /, not > Sage /, as opposed to the prep

[sage-support] Re: problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 10:51 AM, Alessandro Torre wrote: > > putty cannot connect to the address you say. > I think it is normal if sage fails to start. putty should connect fine if you get a login prompt for the sage virtual machine. Connecting via ssh has nothing to do with sage. > I tried t

[sage-support] Re: using len invokes "bad" division

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 10:45 AM, kcrisman wrote: > > Dear support, > > I assume this is known, but I am wondering whether it should be > treated as a bug, This is not a bug. It's a stupid design decision in Python, which we have to live with until we switch to Python 3.0 or switch to doing "fro

[sage-support] Re: Dirichlet series

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 8:57 AM, kcrisman wrote: > Dear Support, > > There are several calculators in reference/lfunctions.html for L- > functions. However, I am not quite sure what to do if I want a > "Dirichlet series" coming not from a character nor an elliptic curve, > e.g. sum mu(n)/n^s for the

[sage-support] Re: problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread Alessandro Torre
putty cannot connect to the address you say. I think it is normal if sage fails to start. I tried to use standard gdb logging to file, but I can't find gdb.txt I tried to set another file, but it seems it doesn't work (I used "set logging file mylog.txt") Any hints? I could ftp the log file to a

[sage-support] using len invokes "bad" division

2009-05-04 Thread kcrisman
Dear support, I assume this is known, but I am wondering whether it should be treated as a bug, or whether someone using len() on lists should be assumed to know it might then be operated on with Python /, not Sage /, as opposed to the preparser catching this sort of thing. sage: len([2,2])/len(

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-05-04 Thread mabshoff
On May 4, 10:11 am, Iwan Lappo-Danilewski wrote: > Is there a chance that there will be executables that run on my work > machine with the next release? No, 3.4.2 won't have the fix, but 4.0 will in roughly two weeks. > Or should I start compiling right now > and maybe move to some SVN kind o

[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-05-04 Thread Iwan Lappo-Danilewski
Is there a chance that there will be executables that run on my work machine with the next release? Or should I start compiling right now and maybe move to some SVN kind of thing? For completeness sake: i...@ivan-laptop:~/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux$ ./ sage -gdb -

[sage-support] Dirichlet series

2009-05-04 Thread kcrisman
Dear Support, There are several calculators in reference/lfunctions.html for L- functions. However, I am not quite sure what to do if I want a "Dirichlet series" coming not from a character nor an elliptic curve, e.g. sum mu(n)/n^s for the Moebius mu function. I tried sage: L = Dokchitser(cond

[sage-support] Re: Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread David Joyner
Maybe you want the following? sage: from scipy import special sage: RealNumber=float sage: special.iti0k0(1.0)[0] 1.0865210970235892 See the thread http://groups.google.com/group/sage-support/browse_thread/thread/e344c0ccd32016f7 for more details. On Mon, May 4, 2009 at 3:36 AM, liji.ma...@g

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread mabshoff
On May 4, 2:51 am, "ma...@mendelu.cz" wrote: > On 4 Kvě, 11:29, mabshoff > wrote: Hi, > > > > I would suggest you complain in the Maxima group to have them take a > > stake into packaging current Maxima releases for Debian/Ubuntu. AFAIK > > the Maxima maintainer for Debian isn't exactly unde

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread ma...@mendelu.cz
On 4 Kvě, 11:29, mabshoff wrote: > > I would suggest you complain in the Maxima group to have them take a > stake into packaging current Maxima releases for Debian/Ubuntu. AFAIK > the Maxima maintainer for Debian isn't exactly underworked, so I am > sure he could use some help. > Hello, not r

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread mabshoff
On May 4, 2:16 am, chand sarat wrote: > Dear All, Hi, > It is a fact that for a number of scientific packages, Ubuntu does offer > fairly outdated packages: > 1. Current Sage package: 3.4.1 and the version offered by Ubuntu 9.04 is > Sage 3.0.5. Help is on the way: Debian experimental should

[sage-support] outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread chand sarat
Dear All, It is a fact that for a number of scientific packages, Ubuntu does offer fairly outdated packages: 1. Current Sage package: 3.4.1 and the version offered by Ubuntu 9.04 is Sage 3.0.5. 2. Current Maxima package: 5.18. and the version offered by Ubuntu 9.04 is Maxima 5.13. 3. Current Texliv

[sage-support] Re: Sage in Ubuntu 9.04

2009-05-04 Thread Serge A. Salamanka
Hi, This is great to hear about. I have created a blog this night. http://sageworldmath.blogspot.com/ Will be posting my experience with SAGE. I also run KUBUNTU 8.04 and might add some documentation to the page you provided. I suppose it is still better to compile latest version of SAGE rather

[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-05-04 Thread Johan Oudinet
On Sat, May 2, 2009 at 10:29 AM, William Stein wrote: > > > Is there enough space so you could try doing everything in /tmp or > /local or some other *non*-NSF local partition? > I've just tried in /tmp and got exactly the same error. the log is available here: http://www.lri.fr/~oudinet/pub/deb

[sage-support] Re: click on Sage icon to get terminal session

2009-05-04 Thread mabshoff
On May 4, 12:40 am, Minh Nguyen wrote: > Hi folks, > > I received the following question from my blog post at > > http://mvngu.wordpress.com/2009/03/22/clickable-mac-os-x-app-for-sage... > > I thought it's more appropriate as a sage-support question. > > > I have built the dmg package as descri

[sage-support] click on Sage icon to get terminal session

2009-05-04 Thread Minh Nguyen
Hi folks, I received the following question from my blog post at http://mvngu.wordpress.com/2009/03/22/clickable-mac-os-x-app-for-sage-34/ I thought it's more appropriate as a sage-support question. > I have built the dmg package as described. Everything is ok. When I double > click on > sage

[sage-support] Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread liji.ma...@gmail.com
Hello everyone! I have a question about the integral of bessel function,I can calculate the integral of bessel function by using Scipy lib.For example,scipy.special.iti0k0(x)[0] means the integral of besseli(0, x) from 0 to x.Is there any function like scipy.special.iti0k0(x)[0] in the SAGE? --~-