| is_polynomial_in_var_or_kern | Function (ROM Call 0x56B)

AMS 2.02 or higher | estack.h

short is_polynomial_in_var_or_kern (CESI test, CESI var_or_kern);

Checks if an expression is a polynomial with respect to another expression.

is_polynomial_in_var_or_kern returns TRUE if the expression pointed to by test is a polynomial with respect to the expression var_or_kern, otherwise it returns FALSE. The definition of "polynomial with respect to" is more complicated when dealing with expressions in var_or_kern. For example, "x+sin(x)" is polynomial with respect to "sin(x)" but not to "x". Interestingly, when testing with respect to "sin(x)", "x" seems to be treated like a constant.

Uses: are_expressions_identical, is_independent_of, is_whole_number, next_expression_index, primary_tag_list, ROM Call 0x4E2
Used by: did_push_anti_deriv, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_lim, push_max, push_min, push_nsolve, push_solve, push_zeros, push_equals, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_not_equals, get_ub, index_if_pushed_binomial_info