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, but I would expect it to return that the > limit is not defined. >
I think we have an unsigned infinity and a signed infinity. It should return the former, from Maxima. > The second (directional) limit confirms this (it returns -infinity). I was > assuming that the default 'direction' for a limit is None and that a two > directional limit would be computed (which in this case does not exist). > Here's some of the help file that shows why I am perhaps confused: > > --- > INPUT: > > - ``dir`` - (default: None); dir may have the value > 'plus' (or '+' or 'right') for a limit from above, > 'minus' (or '-' or 'left') for a limit from below, or may be omitted > (implying a two-sided limit is to be computed). > --- > > If anyone could clarify this I'd appreciate it. > > Vince > -- 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, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
