|
MPSolve 3.2.2
|
Refining of isolated approximations by means of Newton method. More...
#include <mps/mps.h>Go to the source code of this file.
Functions | |
| MPS_BEGIN_DECLS void | mps_improve (mps_context *s) |
| Improve all the approximations up to prec_out digits. | |
Refining of isolated approximations by means of Newton method.
| MPS_BEGIN_DECLS void mps_improve | ( | mps_context * | ctx | ) |
Improve all the approximations up to prec_out digits.
For each approximation compute the value of sigma such that, given some approximations 


![\[ e_j < e_0 * \sigma^{2^j} \qquad \sigma=\frac{k}{k-1}=\frac{1}{1-t} \qquad k=\frac{1}{t}
\]](form_19.png)
and
![\[ t = \min_j |z_i-z_j|-r_j
\]](form_20.png)
Then compute the number of digits needed for the j-th iteration i.e., if 
![\[ d_j = \log(\frac{e_j}{|x|}) + cond
\]](form_22.png)
where
![\[ \log(\frac{e_j}{|x|}) = (f+g){2j} \qquad
cond = \log(\frac{rad}{\epsilon})
\]](form_23.png)
and
![\[ cond \approx \lVert p \rVert (1+ \frac{|x_i|}{a_n \prod_{j \neq i} |x_i-x_j|}
\]](form_24.png)
and
![\[ cond \approx \frac{r_i}{\epsilon |x_i|}
\]](form_25.png)
for user-defined polynomials.
s->mpwp denotes the number of bits of the current working precision.
| ctx | The mps_context associated with the computation. |