Dear support

the following two commands can be used to test, if a function is a
polynomial or quotient of two polynomials in x variable.

sage: (x^3+x+3+1/(x))._maxima_().polynomialp([x]).sage()
0

sage: ((x^3+x+3+1)/(x^4+3))._maxima_().polynomialp([x],"constantp",
"integerp").sage()
1

Is there a solution how to do this in pure Sage, without calling
Maxima? (I think that each call of Maxima takes a long time on my
server, especially the first call.)

Many thanks.

Robert

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to