is_constant Function (ROM Call 0x593)

AMS 2.02 or higher estack.h

short is_constant (CESI ptr);

Checks whether an expression is constant.

is_constant returns TRUE if the expression pointed to by ptr does not rely on any variables (initialized, built-in, but not constants like p), otherwise it returns FALSE.


Uses: all_tail, next_expression_index, primary_tag_list
Used by: is_totally_polynomial, did_push_anti_deriv, did_push_series, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_determinant, push_expand, push_extended_prod, push_factor, push_floor, push_left, push_lim, push_max, push_mid, push_min, push_nsolve, push_phase, push_prodlist, push_red_row_ech, push_right, push_row_echelon, push_simult, push_sin2, push_solve, push_sumlist, push_summation, push_zeros, did_push_to_polar, push_dot_exponentiate, push_equals, push_exponentiate, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_negate, push_not_equals, push_product, push_sum, push_to_cylin, push_to_sphere, push_internal_simplify, add_to_top, did_push_approx_inflection_point, get_ub, GM_Intersect, GM_Math1, push_but_term, push_constant_factors, push_constant_terms, push_dependent_terms, push_gcd_then_cofactors, push_independent_terms, push_lu_fact, push_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_poly_qr, push_simplify, push_sq_matrix_to_whole_number, push_standardize, push_user_func, replace_top_with_post_simplified, replace_top2_with_sum, ROM Call 0x484, ROM Call 0x485, ROM Call 0x48D, push_dense_poly_eval