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 sho

Re: [sage-support] very easy polynomial question

2014-04-08 Thread Nils Bruin
On Tuesday, April 8, 2014 1:00:27 PM UTC-7, William wrote: > > On Tue, Apr 8, 2014 at 10:20 AM, Kevin Buzzard > > 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 :-( a

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 > Date: Tue, Apr 8, 2014 at 9:50 AM > Subject: Re: Sagemath cloud > To: William Stein > > > Hi William > I am getting there. Can I write > plot (x^(8/3), (x,-5,5)) Try plo

Re: [sage-support] very easy polynomial question

2014-04-08 Thread William Stein
On Tue, Apr 8, 2014 at 10:20 AM, Kevin Buzzard 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. > > Here's my question. I h

[sage-support] Fwd: Sagemath cloud

2014-04-08 Thread William Stein
-- Forwarded message -- From: Martin Smithe Date: Tue, Apr 8, 2014 at 9:50 AM Subject: Re: Sagemath cloud To: William Stein Hi William I am getting there. Can I write plot (x^(8/3), (x,-5,5)) I get an error describing negative fractional exponents...is that true Thanks Martin

[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] 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 a

[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 = MixedInteger

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

2014-04-08 Thread Nathann Cohen
Hell !! > RIF can do this: > > More generally, if you know a number to a certain precision: Great ! Thaanks :-) Nathann -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from

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 somethi

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 message

[sage-support] Re: GPLK time limit

2014-04-08 Thread Nathann Cohen
Helloo !! I am trying to use the interface to use the Mixed Integer Programming > features in Sage. One of the things I would like to do is to limit the > execution time to a certain number of seconds and return the current best > valid solution. > This should be possible. > When se

[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: QQ(0.

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

2014-04-08 Thread Dima Pasechnik
On 2014-04-07, Oren Becker 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) with respect t

[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 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 directions for each packa