polynomial_subresultants method

Z3_ast_vector polynomial_subresultants(
  1. Z3_context c,
  2. Z3_ast p,
  3. Z3_ast q,
  4. Z3_ast x,
)

\brief Return the nonzero subresultants of \c p and \c q with respect to the "variable" \c x.

\pre \c p, \c q and \c x are Z3 expressions where \c p and \c q are arithmetic terms. Note that, any subterm that cannot be viewed as a polynomial is assumed to be a variable. Example: \ccode{f(a)} is a considered to be a variable in the polynomial \ccode{ f(a)f(a) + 2f(a) + 1}

def_API('Z3_polynomial_subresultants', AST_VECTOR, (_in(CONTEXT), _in(AST), _in(AST), _in(AST)))

Implementation

Z3_ast_vector polynomial_subresultants(
  Z3_context c,
  Z3_ast p,
  Z3_ast q,
  Z3_ast x,
) {
  return _polynomial_subresultants(
    c,
    p,
    q,
    x,
  );
}