 
 
 
 
 
 
 
  
 distance functions 
has a specific description. First
consider distance function that involve only points of constant. Such
function may be written as:
 distance functions 
has a specific description. First
consider distance function that involve only points of constant. Such
function may be written as:
 
 and is described by a row of 2 matrices APOW, ACONS
and a vector LI. APOW is an integer matrix with
and is described by a row of 2 matrices APOW, ACONS
and a vector LI. APOW is an integer matrix with  columns and
 columns and  rows
 that contain the unknown number
of each term in the function and in which a 0 means that the unknown
is a constant. The value of theses constants are given in the matrix
of real ACONS of size
 rows
 that contain the unknown number
of each term in the function and in which a 0 means that the unknown
is a constant. The value of theses constants are given in the matrix
of real ACONS of size  . 
Finally the value of the constant
. 
Finally the value of the constant  is
indicated in the vector LI of size
 is
indicated in the vector LI of size  . For example consider a system
involving the 4 unknowns
. For example consider a system
involving the 4 unknowns 
 numbered from 1 to 4:
 numbered from 1 to 4:

 
 , the value of
, the value of  being given in the ACONS(1,2). Note that each square term must be written as 
(unknown-unknown or constant
 being given in the ACONS(1,2). Note that each square term must be written as 
(unknown-unknown or constant and not as (constant -unknown
 and not as (constant -unknown .
. 
Consider now function involving virtual points. Each square term may
thus be written as:
 
 may be either a constant, an unknown or the coordinate of
a virtual point. Let
 may be either a constant, an unknown or the coordinate of
a virtual point. Let  be the number of term of the form
 be the number of term of the form
 existing in the system.
Such equation is described by a matrix AVARV with
 existing in the system.
Such equation is described by a matrix AVARV with  rows and a number of columns equal to the number of
unknowns. Each term
 rows and a number of columns equal to the number of
unknowns. Each term 
 is numbered from 1 to k and
the row
 is numbered from 1 to k and
the row  of AVARV will contain in position
 of AVARV will contain in position  the value of
 the value of
 . The existence of the coordinate of 
a virtual point in a
distance function will be indicated in APOW by a negative number 
whose opposite is the number of the virtual coordinates.
Hence if we add to the previous system the third equation:
. The existence of the coordinate of 
a virtual point in a
distance function will be indicated in APOW by a negative number 
whose opposite is the number of the virtual coordinates.
Hence if we add to the previous system the third equation:
 
 
 equations there will be
 equations there will be  equations involving virtual
points. The system must be written in such way that first are defined
the
 equations involving virtual
points. The system must be written in such way that first are defined
the  equations not involving virtual points and then the
 equations not involving virtual points and then the  equations. Note also that in the current implementation
inequalities are handled although with less efficiency than
equations. 
The algorithm is implemented as:
equations. Note also that in the current implementation
inequalities are handled although with less efficiency than
equations. 
The algorithm is implemented as:
 
int Solve_Distance(int DimVar,int DimEq,
                   INTEGER_VECTOR &Type_Eq,
                   INTEGER_MATRIX &APOW,MATRIX &ACONS,VECTOR &LI,
                   int p,int k,MATRIX &AVARV,
                   INTERVAL_VECTOR & TheDomain, 
                   int M,
                   double epsilonf,
                   int Stop,
                   INTERVAL_MATRIX & Solution,int Nb,
                   int (* Simp_Proc)(INTERVAL_VECTOR &))
 
The arguments are:
 
 (value = -1) or an inequality
 (value = -1) or an inequality  (value = 1)
(value = 1)
The following variables play also a role in the computation:
 the 
algorithm will permute the current list with the largest box in the
list of boxes to process (as the algorithm uses systematically the
Newton scheme with as initial guess the center of the current box
permutation may allow to find quickly new solutions)
 the 
algorithm will permute the current list with the largest box in the
list of boxes to process (as the algorithm uses systematically the
Newton scheme with as initial guess the center of the current box
permutation may allow to find quickly new solutions)
 
 
 
 
 
 
