I recently sumbled at following behaviour:
sage: P. = PolynomialRing(QQ)
sage: w = x + 1
sage: w(oo)
+ Infinity
sage: v = 5
sage: v(oo)
A positive finite number
This behaviour is strange (altough works as desined). For nonconstant
polynomial it has the same effect as calculating limit, for consta
Sage acts strange when it encouters infinity and constant polynomial.
Try this
sage: P. = PolynomialRing(QQ)
sage: w = P(1)
sage: w(oo)
A positive finite number
While for nonconstant polynomial:
sage: v = x
sage: v(oo)
+Infinity
--
You received this message because you are subscribed to the Go