Re: [sage-support] Re: extracting coefficients of polynomials

2010-02-22 Thread Mike Hansen
On Mon, Feb 22, 2010 at 4:43 PM, zieglerk wrote: > Is it true, that > > R. = QQ[] > > is equivalent to > > var('x,y') > R = PolynomialRing(QQ, 'x,y') > x,y = R.gens() > > I would not know, how to find the documentation for the first command. You can use preparse to show what really gets executed:

[sage-support] Re: extracting coefficients of polynomials

2010-02-22 Thread zieglerk
Hi, I think, I've spotted my mistake. It was in the way I created the polynomial ring. Is it true, that R. = QQ[] is equivalent to var('x,y') R = PolynomialRing(QQ, 'x,y') x,y = R.gens() I would not know, how to find the documentation for the first command. Thanks, Konstantin On Feb 18,

Re: [sage-support] upgrading

2010-02-22 Thread William Stein
On Mon, Feb 22, 2010 at 12:09 PM, Dana Ernst wrote: > When a new version of Sage is released, what is the most efficient way to > upgrade?  (I'm running OSX 10.6.)  Are people using Mercurial to do this?  If > so, can you provide a brief tutorial?  (I have Mercurial installed and I know > the b

[sage-support] upgrading

2010-02-22 Thread Dana Ernst
When a new version of Sage is released, what is the most efficient way to upgrade? (I'm running OSX 10.6.) Are people using Mercurial to do this? If so, can you provide a brief tutorial? (I have Mercurial installed and I know the basics of working with the terminal.) Also, are the upgrades

Re: [sage-support] Re: Using CRT to speed up calculations over QQ

2010-02-22 Thread Robert Bradshaw
On Feb 21, 2010, at 4:17 PM, Jeff Stroomer wrote: Burcin, Thanks - I never before saw the multimodular argument. That's really nice, and I like that fact that the default is to pick something suitable. But simply using the multimodular approach when echelonizing the matrix isn't enough. I ha

Re: [sage-support] Re: Problem compiling with cython

2010-02-22 Thread Robert Bradshaw
On Feb 21, 2010, at 7:58 PM, Oscar Lazo wrote: On 21 feb, 21:50, Oscar Gerardo Lazo Arjona wrote: He is on an amd phenom 965 x4 a 3.4 Ghz processor, and Ubuntu 9.10 64 bits. It turns out it is actually an Intel core 2 dou with ubuntu 9.10 32 bits Is g++ installed? - Robert -- To post t

Re: [sage-support] Re: [PROBLEM] I cannot run sage

2010-02-22 Thread Dr. David Kirkby
Daniel Harris wrote: Do you have the log which you got when you built without g++ installed? Isnt that the idea behind a binary version - that you dont have to build it yourself? Or am i missing something. Dan My apologies. There was another thread where someone posted the out

Re: [sage-support] Re: [PROBLEM] I cannot run sage

2010-02-22 Thread Daniel Harris
On Mon, Feb 22, 2010 at 1:01 PM, Dr. David Kirkby wrote: > Akshay Pande wrote: > >> Dear David >> >> I installed sage from a binary version. I indeed did not have g++ >> installed. But when I tried to install it via synaptic I got the >> following error >> >> W: Failed to fetch >> http://security.

Re: [sage-support] Re: [PROBLEM] I cannot run sage

2010-02-22 Thread Dr. David Kirkby
Akshay Pande wrote: Dear David I installed sage from a binary version. I indeed did not have g++ installed. But when I tried to install it via synaptic I got the following error W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.24-26.64_i386.deb 404 No

Re: [sage-support] Re: [PROBLEM] I cannot run sage

2010-02-22 Thread Daniel Harris
On Sun, Feb 21, 2010 at 5:37 PM, Akshay Pande wrote: > Dear David > > I installed sage from a binary version. I indeed did not have g++ > installed. But when I tried to install it via synaptic I got the > following error > > W: Failed to fetch > http://security.ubuntu.com/ubuntu/pool/main/l/linux/

[sage-support] about diff

2010-02-22 Thread wxuyec
Hi everyone, I have a question for help. I define phi1=function('phi1',x,y,t) phi2=function('phi2',x,y,t) phi3=function('phi3',x,y,t) psi=function('psi',x,y,t) x0=function('x0',x,y,t) y0=function('y0',x,y,t) theta=function('theta',x,y,t) phi1=cos(theta)*(x-x0)+sin(theta)*(y-y0) phi2=((-cos(theta)+