Restrict taylor() to only find genuine Taylor series
In Maple, the Taylor series command produces an error if the expression does not have a Taylor series, such as 1/x
around x = 0
. Is it possible to achieve the same effect in Sage? I have some rather long expressions, and it's not always immediately obvious whether there are some singular terms hidden in the result of .taylor()
.