Re: [sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-21 Thread Robert Bradshaw
On Mon, Aug 19, 2013 at 6:30 PM, Dima Pasechnik dimp...@gmail.com wrote: On 2013-08-19, Vincent Knight knigh...@cf.ac.uk wrote: --001a1133aa8653f2ed04e4510b09 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the answer kcrisman but I'm afraid I'm still not sure I understand. If by

[sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-21 Thread Dima Pasechnik
On 2013-08-21, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Aug 19, 2013 at 6:30 PM, Dima Pasechnik dimp...@gmail.com wrote: On 2013-08-19, Vincent Knight knigh...@cf.ac.uk wrote: --001a1133aa8653f2ed04e4510b09 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the answer

Re: [sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-20 Thread Vincent Knight
Spot on thanks Dima! limit(1/x,x=0,dir='+') returns +infinity Cheers, Vince On 20 August 2013 02:30, Dima Pasechnik dimp...@gmail.com wrote: On 2013-08-19, Vincent Knight knigh...@cf.ac.uk wrote: --001a1133aa8653f2ed04e4510b09 Content-Type: text/plain; charset=ISO-8859-1 Thanks for

[sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-20 Thread JamesHDavenport
Maxima, from memory supplemented with an experiment with 5.27, has a) infinity, which is the infinity of the (one-point compactification of the) complex plane b) inf, which is the positive one of the two-point compactification of the reals (plus infinity) c) minf, which is the negative one of

[sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-19 Thread kcrisman
On Monday, August 19, 2013 1:55:04 PM UTC-4, Vince wrote: When computing the limit of a function I don't quite seem to be getting the behaviour that I expected. --- sage: f(x) = 1 / x sage: print f.limit(x=0) sage: print f.limit(x=0, dir='minus') --- The first limit returns infinity,

Re: [sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-19 Thread Vincent Knight
Thanks for the answer kcrisman but I'm afraid I'm still not sure I understand. If by 'unsigned infinity' you mean that Sage is returning positive infinity (but assuming that there is no need to return the '+') then I agree but I also still don't think that this is the required behaviour right?

[sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-19 Thread Dima Pasechnik
On 2013-08-19, Vincent Knight knigh...@cf.ac.uk wrote: --001a1133aa8653f2ed04e4510b09 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the answer kcrisman but I'm afraid I'm still not sure I understand. If by 'unsigned infinity' you mean that Sage is returning positive infinity (but