next up previous contents
Next: Cassini ovals Up: Gerschgorin circles Previous: Mathematical background   Contents

Implementation

It is possible to get these bounds by using the procedure:

 
int Gerschgorin(INTERVAL_MATRIX &A,int Size, int Type, INTERVAL &Bound)
where: the procedure returns 1 if it has been possible to compute Bound.

A more complete procedure allows to get all the Gerschgorin circles and eventually to adjust an interval that is supposed to contain the roots of the polynomial:

 
int Gerschgorin_Simplification(INTERVAL_MATRIX &A,int Size,int Type,
                       INTERVAL &Input,INTERVAL_VECTOR &Circle)
The arguments are the same than the previous procedure except for Input which is the interval supposed to contain roots of the polynomial and Circle which contain the projection of the Gerschgorin circle on the real axis. This procedure returns:


next up previous contents
Next: Cassini ovals Up: Gerschgorin circles Previous: Mathematical background   Contents
Jean-Pierre Merlet 2012-12-20