[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
This is also strange: sage: (zeta1092^13) == zeta84 True sage: zeta84^7 == zeta12 True sage: (zeta1092^13)^7 == zeta12 False -- 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 it,

[sage-support] Re: Build error with bzip2 download

2016-04-26 Thread ksk...@gmail.com
I've run into similar issues building development branches on other platforms. Is there a generic workaround I should know about? Kiran On Friday, May 15, 2015 at 12:28:28 AM UTC-7, Volker Braun wrote: > > There were some changes to how we host the tarballs, get sage-6.7.rc0 > instead (which yo

[sage-support] Re: splitting field problem

2016-04-26 Thread Andrew
Have you tried: sage: RR.=PolynomialRing(RR) sage: p= -51813033263*X^2+(-1291618080*sqrt(23)*sqrt(91)-7932964704*sqrt(91 )*sqrt(2)-16045600662*sqrt(23)-13979137536*sqrt(2))*X+1551583008*sqrt(23)* sqrt(91)*sqrt(2)-296053> sage: p.roots() [(-1968/51813033263*sqrt(91)*(328155*sqrt(23) + 2015489*sqrt(

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism: From

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism: From

[sage-support] Powering symbolic polynomial

2016-04-26 Thread Adam Janovský
Hello, I'm having difficulties with evaluating polynomial with symbolic coefficients. I'm newbie to Sage and I have no idea how to tackle this. Let's say, I have polynomial, where coefficients are symbolic. Let's call this polynomial f. I need to perform a function on f, let's say function(f):

[sage-support] Re: Bug in integrate

2016-04-26 Thread Nils Bruin
On Tuesday, April 26, 2016 at 7:41:44 AM UTC-7, Laurent Decreusefond wrote: > > > What does mean log(-1+e^(-2*t)) since the argument is negative ? > For t<0 that expression takes real values, so there the answer even makes sense in a real setting. The answer is generally correct for complex valu

[sage-support] Bug in integrate

2016-04-26 Thread Laurent Decreusefond
Hi everybody, here is the result of my session on Sage 7.2 beta0 (but I guess the problem is not specific to that version) > sage: var('t') > t > sage: integrate(exp(-2*t)/(1-exp(-2*t)),t) > 1/2*log(e^(-2*t) - 1) What does mean log(-1+e^(-2*t)) since the argument is negative ? -- You receive

Re: [sage-support] Re: bug in numerical evaluation of symbolic expression

2016-04-26 Thread Vincent Delecroix
On 25/04/16 17:49, William Stein wrote: On Mon, Apr 25, 2016 at 12:06 PM, Volker Braun wrote: Presumable its because the RR nan doesn't correctly convert to the SR nan: sage: NaN.is_zero() False sage: SR(RR('nan')).is_zero() True Related and confusing/wrong/inconsistent: sage: RR('nan').is_

[sage-support] backwards compatibility

2016-04-26 Thread John Cremona
In a publisged paper [1] I gave a reference to a Sage script which could reproduce the results of the paper. The output of this (using sagetex) is also in the ArXiV version of the paper [2]. That was 3 years ago, and I just tried to see if that Sage script would still work. It didn't. In the sc