[sage-support] Re: Yet another zeta question

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 12:41 PM, Robert Bradshaw wrote: > > On May 4, 2009, at 12:22 PM, William Stein wrote: > >> On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: >>> >>> In order to plot zeta for real input, I have to do the following: >>> def Zeta(x): >>>    return RR(zeta(x)) >>> plot(Zeta,2

[sage-support] Re: Yet another zeta question

2009-05-04 Thread Robert Bradshaw
On May 4, 2009, at 12:22 PM, William Stein wrote: > On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: >> >> In order to plot zeta for real input, I have to do the following: >> def Zeta(x): >>return RR(zeta(x)) >> plot(Zeta,2,20) >> >> This is because >> sage: zeta(2) >> 1.64493406684823 >> s

[sage-support] Re: Yet another zeta question

2009-05-04 Thread William Stein
On Mon, May 4, 2009 at 12:02 PM, kcrisman wrote: > > In order to plot zeta for real input, I have to do the following: > def Zeta(x): >    return RR(zeta(x)) > plot(Zeta,2,20) > > This is because > sage: zeta(2) > 1.64493406684823 > sage: type(zeta(2)) > > > which seems odd to me that pure real