rcf_mk_roots method
\brief Store in roots the roots of the polynomial \ccode{an-1
*x^{n-1} + ... + a0
}.
The output vector \c roots must have size \c n.
It returns the number of roots of the polynomial.
\pre The input polynomial is not the zero polynomial.
def_API('Z3_rcf_mk_roots', UINT, (_in(CONTEXT), _in(UINT), _in_array(1, RCF_NUM), _out_array(1, RCF_NUM)))
Implementation
int rcf_mk_roots(
Z3_context c,
int n,
ffi.Pointer<Z3_rcf_num> a,
ffi.Pointer<Z3_rcf_num> roots,
) {
return _rcf_mk_roots(
c,
n,
a,
roots,
);
}