next up previous contents
Next: Solving univariate polynomial with Up: Krawczyk method for solving Previous: Mathematical background   Contents

Implementation

The procedure is implemented as:
 
int Krawczyk_Solver(int m,int n,
        INTERVAL_VECTOR (* IntervalFunction)(int,int,INTERVAL_VECTOR &), 
        INTERVAL_MATRIX (* IntervalGradient)(int, int, INTERVAL_VECTOR &),
        INTERVAL_VECTOR &Input,double Acc , VECTOR &Result)
with The procedure will return 1 if it has converged to a solution, 0 or -1 otherwise.



Jean-Pierre Merlet 2012-12-20