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

2009-05-05 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 wdjoy...@gmail.com wrote: Maybe you

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

2009-05-05 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: How do I show a permutation group is the alternating group?

2009-05-05 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] Re: How do I show a permutation group is the alternating group?

2009-05-05 Thread jimfar
thank you very much On May 4, 11:57 pm, Michael Welsh yom...@yomcat.geek.nz wrote: 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-support] How to work properly with sage

2009-05-05 Thread Ton Biegstraaten
Hi, I like to have some advice on how to develop my own code and have a proper documentation for it. In python all is clear, you write a .py file and supply the docstring with proper reST text and code for epydoc, doctest and/or Sphinx. With nzmath you can do a lot of math things (and it works

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

2009-05-05 Thread Alessandro Torre
Hi. disassemble.txt does contain the output from disassemble $pc +32,$pc-32 Instead disassemble $pc+32 $pc-32 produces no output: Dump of assembler code from 0xb76ce853 to 0xb76ce813: End of assembler dump. And the output of disassemble $pc-32 $pc+32: Dump of assembler code from 0xb76ce813

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

2009-05-05 Thread Iwan Lappo-Danilewski
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. Looking forward to it. Or should I start compiling right now and maybe move to some SVN kind of thing? I don't know

[sage-support] Re: matrices, vectors and Sage

2009-05-05 Thread William Stein
On Tue, May 5, 2009 at 6:23 AM, Paul Zimmermann paul.zimmerm...@loria.fr wrote:       Hi, I got the following error in a Sage program I wrote: TypeError: unsupported operand parent(s) for '*': 'Full MatrixSpace of 2 by 1 dense matrices over Integer Ring' and 'Full MatrixSpace of 2 by 2

[sage-support] Re: How to work properly with sage

2009-05-05 Thread William Stein
On Tue, May 5, 2009 at 12:56 AM, Ton Biegstraaten ton.biegstraa...@gmail.com wrote: Hi, I like to have some advice on how to develop my own code and have a proper documentation for it. In python all is clear, you write a .py file and supply the docstring with proper reST text and code for

[sage-support] how to use floats properly in cython?

2009-05-05 Thread Christophe Oosterlynck
Hi, I'm writin a Cython module for Sage and at some point I want to construct a random matrix with a certain density. But supplying the density as a float to the random_matrix function will always become 0... for example %cython from sage.all import random_matrix,GF cdef float d d = float1/562

[sage-support] Re: how to use floats properly in cython?

2009-05-05 Thread William Stein
On Tue, May 5, 2009 at 7:00 AM, Christophe Oosterlynck tif...@gmail.com wrote: Hi, I'm writin a Cython module for Sage and at some point I want to construct a random matrix with a certain density. But supplying the density as a float to the random_matrix function will always become 0...

[sage-support] Blank Error | Sage Notebook page after server restart

2009-05-05 Thread Kevin Horton
If the sage notebook server is restarted while a logged in user is viewing a notebook page, a user attempt to refresh the page results in a completely blank page titled Error | Sage Notebook. The user must manually edit the URL to go back to the main server page and login again,

[sage-support] Re: Blank Error | Sage Notebook page after server restart

2009-05-05 Thread William Stein
On Tue, May 5, 2009 at 7:21 AM, Kevin Horton khorto...@rogers.com wrote: If the sage notebook server is restarted while a logged in user is viewing a notebook page, a user attempt to refresh the page results in a completely blank page titled Error | Sage Notebook.  The user must manually

[sage-support] Re: matrices, vectors and Sage

2009-05-05 Thread Jason Grout
Paul Zimmermann wrote: Hi, I got the following error in a Sage program I wrote: TypeError: unsupported operand parent(s) for '*': 'Full MatrixSpace of 2 by 1 dense matrices over Integer Ring' and 'Full MatrixSpace of 2 by 2 dense matrices over Rational Field' for the

[sage-support] Re: matrices, vectors and Sage

2009-05-05 Thread William Stein
On Tue, May 5, 2009 at 9:28 AM, Jason Grout jason-s...@creativetrax.com wrote: Paul Zimmermann wrote:        Hi, I got the following error in a Sage program I wrote: TypeError: unsupported operand parent(s) for '*': 'Full MatrixSpace of 2 by 1 dense matrices over Integer Ring' and 'Full

[sage-support] quick question about the sage dvd and vmware

2009-05-05 Thread Chris Chiasson
Does the Sage DVD (not the live cd) require admin privileges to run it on Windows? I suppose this boils down to whether or not the VMWare binary mentioned in the description is the installer for VMWare or if it is actually the executable needed to launch Sage. If it does run off of the DVD

[sage-support] Re: quick question about the sage dvd and vmware

2009-05-05 Thread Robert Bradshaw
On May 5, 2009, at 10:43 AM, Chris Chiasson wrote: Does the Sage DVD (not the live cd) require admin privileges to run it on Windows? I suppose this boils down to whether or not the VMWare binary mentioned in the description is the installer for VMWare or if it is actually the executable

[sage-support] Re: how to use floats properly in cython?

2009-05-05 Thread Robert Bradshaw
On May 5, 2009, at 7:03 AM, William Stein wrote: On Tue, May 5, 2009 at 7:00 AM, Christophe Oosterlynck tif...@gmail.com wrote: Hi, I'm writin a Cython module for Sage and at some point I want to construct a random matrix with a certain density. But supplying the density as a float to

[sage-support] trying to run Dean Moore's Hypotrochoid program

2009-05-05 Thread Bruce Cohen
I am new to Sage (and think it is great). This experiment (using Sage 3.4.1) did not work: -- I downloaded this: http://deanlm.com/python/index_files/hypo.txt and saved it as hypo.sage and at a shell prompt ran this: 19% sage hypo.sage Traceback (most recent call last): File