[sage-support] swtich Gap to Sage

2012-10-16 Thread Babak Miraftab
I have following Gap's code: Summands := function(G) local n, i, sgl, l, A, B, D;# ensure that the group G is finite and abelian if not IsGroup(G) or not IsFinite(G) or not IsAbelian(G) then Error(Usage: DirectSummands(G) - where G is a finite abelian group\n); fi; # obtain a list of all

Re: [sage-support] Error installing package libm4rie on debian squeeze

2012-10-16 Thread jerneaux
I tried building conversion.i on a similar system, but was unable to reproduce the problem. It might be really a problem with GCC, or it might be a problem with your system, I cannot tell. Is there any chance that I can get access to that system? Otherwise there is not much more I

[sage-support] Are there problems with the www.sagenb.org server? is down?

2012-10-16 Thread Alberto Fernandez
Hi Since yesterday we are trying to work with sage on the www.sagenb.org server and don´t performs calculations. Is this server down? Are our PC´s wrong? Thanks -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email

[sage-support] Hurwitz determinants

2012-10-16 Thread Urs Hackstein
Dear all, let p(z)=z^n+a_1*z^{n-1}+...+a_n be a polynomial where n is a positive integer and a_1,a_2,..., a_n are real numbers. Then the so-called *Hurwitz determinants *of order k=1,2,...,n of p are defined as det(a_{2i-j}) , 1 \leq i,j \leq k where a_0=1 and a_k=0 for k0 and kn.

[sage-support] Re: Solving and plotting the solution of ODE

2012-10-16 Thread ancienthart
A way to get these new parameters from maxima is as follows: soln = S[0][0][1] soln.arguments() to get the argument names, (Which are t and u), then t,u = soln.arguments() Once you've done this, you can replace u with a value as follows: soln.subs(u == 0.5) Which returns: -0.145*sin(2*pi*t) -

[sage-support] Re: Solving and plotting the solution of ODE

2012-10-16 Thread ancienthart
Another good resource is: ask.sagemath.org Joal Heagney On Friday, 12 October 2012 08:37:50 UTC+10, Doaa El-Sakout wrote: I try to solve an ODE and plot the result as follows, x,t,a=var('x,t,a') a=0.29 x = function('x', t) S=desolve(diff(x,t)-x*(1-x)+a*

Re: [sage-support] Are there problems with the www.sagenb.org server? is down?

2012-10-16 Thread Christophe BAL
Hello. I've met the same problem today. Christophe. 2012/10/16 Alberto Fernandez alb...@gmail.com Hi Since yesterday we are trying to work with sage on the www.sagenb.org server and don´t performs calculations. Is this server down? Are our PC´s wrong? Thanks -- You received this

Re: [sage-support] Are there problems with the www.sagenb.org server? is down?

2012-10-16 Thread kcrisman
On Tuesday, October 16, 2012 8:07:38 AM UTC-4, projetmbc wrote: Hello. I've met the same problem today. Christophe. 2012/10/16 Alberto Fernandez alb...@gmail.com javascript: Hi Since yesterday we are trying to work with sage on the www.sagenb.org server and don´t performs

[sage-support] Re: What's wrong ?

2012-10-16 Thread kcrisman
On Tuesday, October 16, 2012 1:00:35 AM UTC-4, Jotace wrote: Hi all, I'm trying this var('x,y'); @interact def taylor_play(f=x^2-y^2,order=slider(1,10,1,default=1), x0=slider(-2,2,.25,default=0),y0=slider(-2,2,.25,default=0)): p1=plot3d(f,(x,-1,1),(y,-1,1),color='blue')

Re: [sage-support] Permutation Groups

2012-10-16 Thread Peter Mueller
Dear David, This might be an issue of over-riding the exponentiation of an integer. I guess it could be implemented, at a cost of slowing down the much more common computation of exponentiation on ZZ. O.K., I think it would also be fine to have 3*sigma instead of 3^sigma for an element

Re: [sage-support] Are there problems with the www.sagenb.org server? is down?

2012-10-16 Thread Christophe BAL
For my part, evaluation always freezes. 2012/10/16 kcrisman kcris...@gmail.com On Tuesday, October 16, 2012 8:07:38 AM UTC-4, projetmbc wrote: Hello. I've met the same problem today. Christophe. 2012/10/16 Alberto Fernandez alb...@gmail.com Hi Since yesterday we are trying to

Re: [sage-support] Re: Posting to Sage Interact

2012-10-16 Thread Vincent Knight
Thanks Jason, Personally I would be in favour of the flagging system. I think it was ince to be able to post code and it be instantaneously available to everybody. Vince On 15 October 2012 21:17, kcrisman kcris...@gmail.com wrote: luck :). Now if there are posts to moderate, they'll appear

[sage-support] cannot display graphs

2012-10-16 Thread fomalhauty
Hi there, I am learning Sage recently and when I was trying to display a complete graph in the terminal window it showed the following: sage: K=graphs.CompleteGraph(2) sage: K.show() --- RuntimeError

[sage-support] Re: cannot display graphs

2012-10-16 Thread Volker Braun
Well the obvious question is: do you have write permissions to /Network/Servers/smb-files.math.uwaterloo.ca/cifs.homedir/MacProfile/.sage//matplotlib-1.1.0 On Tuesday, October 16, 2012 4:25:22 PM UTC+1, fomalhauty wrote: Hi there, I am learning Sage recently and when I was trying to

[sage-support] can't exponentiate an mpmath mpf number

2012-10-16 Thread Dan Drake
This is strange: sage: import mpmath sage: exp(mpmath.mpf('-0.0712959029907420240935')) raises TypeError: 'int' object is not callable. I can, of course, use mpmath.exp on the number, but I would expect automatic conversion. This works, though: sage: exp(-0.0712959029907420240935)

[sage-support] Re: cannot display graphs

2012-10-16 Thread John H Palmieri
On Tuesday, October 16, 2012 10:38:34 AM UTC-7, fomalhauty wrote: Hi Volker, All the programs were installed by the university, and I cannot install a program myself as I am not the administrator. I asked the computer facility help center, but they have not figured out a solution. My

[sage-support] Re: cannot display graphs

2012-10-16 Thread John H Palmieri
On Tuesday, October 16, 2012 10:45:08 AM UTC-7, John H Palmieri wrote: On Tuesday, October 16, 2012 10:38:34 AM UTC-7, fomalhauty wrote: Hi Volker, All the programs were installed by the university, and I cannot install a program myself as I am not the administrator. I asked the

[sage-support] Re: can't exponentiate an mpmath mpf number

2012-10-16 Thread kcrisman
On Tuesday, October 16, 2012 1:44:59 PM UTC-4, Dan Drake wrote: This is strange: sage: import mpmath sage: exp(mpmath.mpf('-0.0712959029907420240935')) raises TypeError: 'int' object is not callable. I can, of course, use mpmath.exp on the number, but I would expect automatic

[sage-support] Re: cannot display graphs

2012-10-16 Thread fomalhauty
Hi John, The output of mount is /dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) /dev/disk0s3 on /Volumes/Scratch (hfs, local, journaled) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse) map -fstab

[sage-support] Re: cannot display graphs

2012-10-16 Thread Volker Braun
What do you get if you try the following: sage: import tempfile sage: tempfile.TemporaryFile(dir='/Network/Servers/smb-files.math.uwaterloo.ca/cifs.homedir/MacProfile/.sage//matplotlib-1.1.0') On Tuesday, October 16, 2012 7:24:19 PM UTC+1, fomalhauty wrote: Hi John, The output of mount is

[sage-support] Re: cannot display graphs

2012-10-16 Thread fomalhauty
Hi, This is the result: sage: import tempfilesage: tempfile.TemporaryFile(dir='/Network/Servers/smb-files.math.uwaterloo.ca/cifs.homedir/MacProfile/.sage//matplotlib-1.1.0') --- OSError

[sage-support] Re: cannot display graphs

2012-10-16 Thread Volker Braun
You can try to put export DOT_SAGE=/Volumes/Scratch/.sage into the sagerc On Tuesday, October 16, 2012 9:45:07 PM UTC+1, fomalhauty wrote: Hi, This is the result: sage: import tempfilesage: tempfile.TemporaryFile(dir='/Network/Servers/

Re: [sage-support] RuntimeError: Segmentation fault in Graph.subgraph_search()

2012-10-16 Thread Georgi Guninski
On Mon, Oct 15, 2012 at 10:20:14AM -0700, Nathann Cohen wrote: What is strange to me the SEGV is non-deterministic (different graphs each time), which might be a sign of a deeper problem maybe not in your code :) Ahahaah. I do not doubt that the problem is in my code :-) Nathann

[sage-support] Re: Solving a functional equation

2012-10-16 Thread Pierre
Le lundi 8 octobre 2012 18:37:45 UTC+2, Pierre a écrit : Consider the functional equation (f*z + z * L(z,f)^2 + z * L(z,f+1) - L(z,f) == 0) This defines implicitly a bivariate function L(z,f). My goal is to find the Taylor development of L(z,0). I know from Bernhard