void mps_allocate_data(mps_context *s)
Allocate all the data needed by MPSolve. Must be called after setting the degree of the polynomial (o...
Definition: data.c:43
long int mps_raise_data(mps_context *s, long int prec)
Raise precision performing a real computation of the data.
Definition: data.c:105
void mps_prepare_data(mps_context *s, long int prec)
Compute the mp_complex values of the coefficients of p(x) with the current precision of mpwds words,...
Definition: data.c:176
void mps_compute_sep(mps_context *s)
Compute the minimum distance that can separate two roots of the input polynomial.
Definition: main.c:602
void mps_raise_data_raw(mps_context *s, long int prec)
The same of mps_raise_data() but using raw routines of GMP, that will not change allocations.
Definition: data.c:134
MPS_BEGIN_DECLS void mps_mp_set_prec(mps_context *s, long int prec)
Globally set the current precision of mp variables.
Definition: data.c:24
void mps_setup(mps_context *s)
Setup vectors and variables.
Definition: main.c:296
void mps_check_data(mps_context *s, char *which_case)
Check consistency of data and makes some basic adjustments.
Definition: main.c:460
void mps_free_data(mps_context *s)
Free all the data allocated with mps_allocate_data()
Definition: data.c:228
void mps_restore_data(mps_context *s)
Resets the data to the highest used precision.
Definition: data.c:207
this struct holds the state of the mps computation
Definition: context.h:55