Checking if a polynomial expression is constant in SAGE

457 Views Asked by At

I have a huge fractional-polynomial expression in SAGE that I have good reasons to believe is the constant function. Is there a command in SAGE like "== constant function" that I could use to check that hypothesis?

1

There are 1 best solutions below

1
On

The methods on symbolic expressions are at the documentation for symbolic expressions.

Maybe you will find the denominator method useful?