Open dominikgeissler opened 3 weeks ago
Assumptions are not yet implemented in SymEngine. So almost all .is_xxxxx
methods will return None (which signifies "indeterminate").
Looks like is_polynomial
would be useful in the python bindings. I think it's just a matter of someone finding the time / having the need to write a pull request.
Hey! Using
symengine
, I was trying to check whether a given expression is polynomial.In the C++ documentation there exists a method
is_polynomial()
which would be exactly what I was looking for. This method however does not seem to exist in the python bindings (as of version0.11.0
).Using the given
is_finite
propery sadly doesn't work and produces some interesting result when compared toSymPy
Are there any plans of making the function accessible? Is there a workaround (without simply using
SymPy
)?Thanks in advance!