next up previous contents
Next: The GradientNonLinear procedure Up: Solving systems with linear Previous: Example   Contents

Implementation with gradient

This procedure may be used if the gradient of the equations are available. A full version is implemented as:
 
int Solve_Simplex_Gradient(int m,int n,int NbNl,
        INTEGER_VECTOR TypeEq,
        INTERVAL_VECTOR (* IntervalFunction)(int,int,INTERVAL_VECTOR &), 
        INTERVAL_MATRIX (* Gradient)(int, int,INTERVAL_VECTOR &), 
        void (* NonLinear)(INTERVAL_VECTOR &x,INTERVAL_VECTOR &X),
        void (* GradientNonLinear)(INTERVAL_VECTOR &x,INTERVAL_MATRIX &X),
        void (* CoeffLinear)(MATRIX &U),
        double MaxDiam,
        int FullSimplex,
        INTERVAL_VECTOR & TheDomain, 
        int Order,int Iteration,int Stop,
        double epsilon,double epsilonf,double Dist,
        INTERVAL_MATRIX & Solution,
        int Nb,int UseGradNL,
        INTEGER_MATRIX &GI,
        int (* Simp_Proc)(INTERVAL_VECTOR &))
the arguments being: The following variables play also a role in the computation:

There are several versions of this procedure in which several arguments of the general procedure may be omitted. The following table indicates which arguments may be omitted and the corresponding assumptions (EO=equations only).

omitted
NbNl 0 0 0
TypeEq EO EO EO EO EO EO
GradientNonLinear not known not known
UseGradNL 0 0 0 0
In all cases you may omit the GI argument (the derivatives are assumed to be unknown) and Simp_Proc.

Subsections
next up previous contents
Next: The GradientNonLinear procedure Up: Solving systems with linear Previous: Example   Contents
Jean-Pierre Merlet 2012-12-20