[sage-support] Re: [GAP] did I install the small groups package incorrectly?

2014-04-08 Thread Dima Pasechnik
On 2014-04-07, John H Palmieri jhpalmier...@gmail.com wrote: What I suggested installs the small groups package and a few other things, but it looks like it doesn't install the FGA package. To install other packages, install them basically like you said originally (although check the

[sage-support] Re: Cayley graph of PGL(2,q)

2014-04-08 Thread Dima Pasechnik
On 2014-04-07, Oren Becker oren.bec...@gmail.com wrote: My steps created matrices. The group PGL is implemented as a group of permutations. I can make my question more accurate: I have a (symmetric) set of 2x2 matrices S over Fq. How can I find the spectrum of the Cayley graph of PGL(2,q)

[sage-support] Rational approximation of a number

2014-04-08 Thread Nathann Cohen
Hello everybody ! I just discovered this very nice feature : sage: QQ(1.5) 3/2 It is quite cool to get the rational associated with a float ! LP solvers often give such output. This being said, the following is... Well... :-) sage: QQ(0.3) 3/10 sage: QQ(0.33) 33/100 ... sage:

Re: [sage-support] Rational approximation of a number

2014-04-08 Thread Jeroen Demeyer
RIF can do this: sage: x = RIF(0.333) sage: x.simplest_rational() 1/3 More generally, if you know a number to a certain precision: sage: x = RIF(0.3) sage: y = x + RIF(-1,1)/1e3# Add error term sage: y.simplest_rational() 1/3 -- You received this

Re: [sage-support] Why doesn't Sage use StackExchange?

2014-04-08 Thread Nathann Cohen
Hello !!! Whoah. Some questions people might want to try answering which currently have no answers: What the hell ? Come on guys, we have to do something... We answer questions on - Sage-devel - Sage-support - AskSage And now there is stackexchange ? Hey, we have to do

[sage-support] add_constraint becomes slow in presence of many constraints

2014-04-08 Thread Peter Mueller
While analyzing why a program becomes unexpectedly slow (despite moderate memory usage and no swapping), I found out that the time consumption of the method add_constraint slows down if there are already many constraints. The following simple (and silly) program displays this: P =

Re: [sage-support] Re: keyboard

2014-04-08 Thread cyrille piatecki
Dear Eric, I have tried the solution and it seems to work in console mode, but note in a browser. Secondly as mathematica under windows open only in browser mode, it was not evident to find how to change for the console screen Cordialy Cyrille Piatecki Le 26/03/2014 13:28, Eric Gourgoulhon

[sage-support] very easy polynomial question

2014-04-08 Thread Kevin Buzzard
I am new to sage. I am not scared of reading docs for computer programs. I cannot work out how to answer basic questions I have from the sage docs though :-( and it's so easy just to ask for help, so here I am. Here's my question. I have a polynomial with coefficients in a cyclotomic field and

Re: [sage-support] very easy polynomial question

2014-04-08 Thread William Stein
On Tue, Apr 8, 2014 at 10:20 AM, Kevin Buzzard kevin.m.buzz...@gmail.com wrote: I am new to sage. I am not scared of reading docs for computer programs. I cannot work out how to answer basic questions I have from the sage docs though :-( and it's so easy just to ask for help, so here I am.

Re: [sage-support] Fwd: Sagemath cloud

2014-04-08 Thread Dan Drake
On Tue, 08 Apr 2014 at 10:29AM -0700, William Stein wrote: -- Forwarded message -- From: Martin Smithe martin.smi...@gmail.com Date: Tue, Apr 8, 2014 at 9:50 AM Subject: Re: Sagemath cloud To: William Stein wst...@gmail.com Hi William I am getting there. Can I write

Re: [sage-support] very easy polynomial question

2014-04-08 Thread Nils Bruin
On Tuesday, April 8, 2014 1:55:49 PM UTC-7, Nils Bruin wrote: F=Qxz(f) #this conveniently lifts z to a transcendental in Q[x,z] Oops, that only works because of the last-resort attempt of converting f to a string and then feeding the string to Qxz. One probably