is_totally_polynomial Function (ROM Call 0x56C)

AMS 2.02 or higher estack.h

short is_totally_polynomial (CESI ptr);

Checks if an expression is polynomial in all variables.

is_totally_polynomial returns TRUE if the expression pointed to by ptr is polynomial with respect to all variables - that is, consists only of variables raised to positive constant powers (with coefficients) and multiplied or added together. Otherwise it returns FALSE.


Uses: is_constant, is_variable, next_expression_index
Used by: push_desolve