| push_internal_simplify | Function (ROM Call 0x4F8*)

AMS 1.01 or higher | estack.h

void push_internal_simplify (CESI ptr);

Converts an expression into internal canonic form and pushes the result to the expression stack.

This extremely important low-level subroutine converts an expression pointed to by ptr to the internal canonic form (see top_estack for more info about the internal canonic form), and pushes the converted expression at the top of the expression stack. This routine accepts all valid (algebraic, calculus, relational, logical or Boolean) tokenized expressions. During the conversion, various simplifications may be performed as well. This routine may cause heap compression, stack expansion, and may throw an error if something goes wrong.

Uses: are_expressions_identical, bottom_estack, delete_between, is_free_of_tag, is_independent_of, next_expression_index, push_expr_quantum, push_expression, push_quantum, top_estack, push_indir_name, ER_catch, ER_success, ER_throwVar, did_push_var_val, does_push_fetch, is_constant, is_real, is_variable, NG_control, NG_such_that_index, primary_tag_list, replace_top2_with_and, DerefSym, VarRecall, ROM Call 0x5E4
Used by: cmd_dialog, cmd_endfor, cmd_endwhile, cmd_if, cmd_ifthen, cmd_return, cmd_sinreg, cmd_while, did_push_anti_deriv, push_1st_derivative, push_abs, push_approx, push_conj, push_csolve, push_czeros, push_def_int, push_desolve, push_extended_prod, push_factor, push_im, push_lim, push_max, push_min, push_nint, push_nsolve, push_part, push_phase, push_randpoly, push_re, push_sign, push_solve, push_summation, push_when, push_zeros, push_dot_exponentiate, push_equals, push_greater_than, push_greater_than_or_equals, push_indir_name, push_less_than, push_less_than_or_equals, push_not_equals, push_substitute_simplify, push_substitute_using_such_that, EV_defaultHandler, HomeExecute, are_units_consistent, did_push_approx_inflection_point, get_lb, get_ub, index_if_pushed_qquad_info, is_negative, is_nonnegative, is_nonpositive, is_positive, push_format, push_simplify, push_simplify_statements, push_user_func, replace_top_with_post_simplified, ROM Call 0x450, ROM Call 0x4D1, ROM Call 0x4E6