Ask Your Question

is_polynomial with symbolic coefficients: bug ?

asked 2013-10-17 09:50:31 -0500

alessandro gravatar image

sage: s, a, b= var('s a b')

sage: (1/s^2 + s).is_polynomial(s)


sage: (a/s^2 + b*s).is_polynomial(s)


Should the second call of is_polynomial not return False as in the first case ?

Is this a bug ?

Who and howto report ?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2013-10-17 21:54:38 -0500

Luca gravatar image

This is a bug. Thanks for reporting it. It is ticket #15304 now.

edit flag offensive delete link more

answered 2013-10-18 03:18:11 -0500

alessandro gravatar image

(s/(s^3+2*s) + 3).is_polynomial(s)

returns True

Check this case also...


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-10-17 09:50:31 -0500

Seen: 65 times

Last updated: Oct 18 '13