[sage-support] Re: get values of log integral without branch cut

2011-05-12 Thread Fredrik Johansson
On May 13, 2:50 am, kcrisman wrote: > On May 12, 8:39 pm, Fredrik Johansson > wrote: > > > On May 12, 11:19 pm, kcrisman wrote: > > > > This should, in theory, give a plot of li(20^z) along the critical > > > line of the Riemann zeta function.  Unfortunately, as you will see if > > > you plot th

[sage-support] Re: get values of log integral without branch cut

2011-05-12 Thread kcrisman
On May 12, 8:39 pm, Fredrik Johansson wrote: > On May 12, 11:19 pm, kcrisman wrote: > > > This should, in theory, give a plot of li(20^z) along the critical > > line of the Riemann zeta function.  Unfortunately, as you will see if > > you plot this, it succeeds until it hits a branch cut (I ass

[sage-support] Re: get values of log integral without branch cut

2011-05-12 Thread Fredrik Johansson
On May 12, 11:19 pm, kcrisman wrote: > This should, in theory, give a plot of li(20^z) along the critical > line of the Riemann zeta function.  Unfortunately, as you will see if > you plot this, it succeeds until it hits a branch cut (I assume), and > does not look so nice, not to mention missing

[sage-support] Associated coroot depending on space

2011-05-12 Thread Matthias
Hi, i don't really know whether this is a bug, but at least it seems a bit odd to me (are alphacheck supposed to have different meanings in the spaces?): R = RootSystem(['A',3]) wgtsp = R.weight_space() rootsp = R.root_space() a = wgtsp.simple_roots()[1] b = rootsp.simple_roots()[1] a.associate

[sage-support] Re: Error with code

2011-05-12 Thread Vahid
The above problem is solved. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.o

[sage-support] get values of log integral without branch cut

2011-05-12 Thread kcrisman
Here is the setup: import mpmath parametric_plot((lambda t: (20^(0.5+i*RR(t))).real(),lambda t: (20^(0.5+i*RR(t))).imag()), (0,15),rgbcolor=hue(0.7)) A circle, as one would guess. parametric_plot((lambda t: mpmath.li(20^(0.5+i*RR(t))).real,lambda t: mpmath.li(20^(0.5+i*RR(t))).imag), (0,pi/2),rg

[sage-support] Error with code

2011-05-12 Thread Vahid
I am very new to sage and I don't know any python. I wrote the following code but I get errors. Can some one help me please? def urn(number): p = list(SetPartitions(number).list()) l = len(v) trivial = p[0] counter = 0 rounds = 10 for i in range(0,rounds):

Re: [sage-support] ISSAC 2011

2011-05-12 Thread William Stein
On Wed, May 11, 2011 at 7:48 PM, Alex Raichev wrote: > Hi Sagers: > > I'm not sure this is the right forum to ask this question, but hey, > here goes. Anybody going to ISSAC 2011 > (http://www.issac-conference.org/2011/) next month? One Sage developer, Victor Miller, is giving one of the two big

[sage-support] Book on Sage published.

2011-05-12 Thread Dr. David Kirkby
I got an email from the publisher today confirming the book on Sage has been published, although the web site still says to be published in May 2011. http://www.packtpub.com/sage-beginners-guide/book Some fraction of sales will go to Sage, though I'm not sure what fraction, or if there needs t

Re: [sage-support] Ring variables cannot contain each other as prefixes

2011-05-12 Thread Burcin Erocal
On Wed, 11 May 2011 22:57:56 -0700 (PDT) tvn wrote: > Is this a "math" limitation or Sage limitation ?If it's the later then > should it be worked on ? > > 'Sage Version 4.6.2, Release Date: 2011-02-25' > sage: var('x x2') > (x, x2) > sage: Q = PolynomialRing(QQ,[x,x2]) > sage: I = Q*([x+