MPSolve 3.2.1
|
File with the implementation of the driver routines for MPSolve. More...
Functions | |
MPS_PRIVATE void | mps_standard_mpsolve (mps_context *s) |
Main routine of the program that implements the algorithm in the standard polynomial version. More... | |
MPS_PRIVATE void | mps_setup (mps_context *s) |
Setup vectors and variables. | |
MPS_PRIVATE void | mps_check_data (mps_context *s, char *which_case) |
Check consistency of data and makes some basic adjustments. More... | |
MPS_PRIVATE void | mps_compute_sep (mps_context *s) |
Compute the minimum distance that can separate two roots of the input polynomial. | |
File with the implementation of the driver routines for MPSolve.
MPS_PRIVATE void mps_check_data | ( | mps_context * | s, |
char * | which_case | ||
) |
Check consistency of data and makes some basic adjustments.
This routine check, for example, if there are zero roots in the polynomial (i.e. no costant term) and deflates the polynomial if necessary (shifting the coefficients).
It sets the value of the parameter which_case
to 'f'
if a floating point phase is enough, or to 'd'
if a dpe
phase is needed.
s | The mps_context associated with the current computation. |
which_case | the address of the variable which_case; |
MPS_PRIVATE void mps_standard_mpsolve | ( | mps_context * | s | ) |
Main routine of the program that implements the algorithm in the standard polynomial version.
The program is divided into many parts
which_case
is 'f'
or 'd'
according to float or dpe case.