There seems to be an error in the sympy 1.0 limit() function.

The lim(1/x) as x->0 does not exist while the limit()

function indicates this as +infinity.

It seems that a custom octave function could compute the

left and right limits in order to get a better understanding.

Regards,

Constantine.

octave:20> limit(1/x,x,0)

ans = (sym) oo

octave:21>

octave:21> limit(1/x,x,0,'right')

ans = (sym) oo

octave:22> limit(1/x,x,0,'left')

ans = (sym) -oo

_______________________________________________

Help-octave mailing list

[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave