next up previous contents
Next: Derivative of a polynomial Up: Sign of a polynomial Previous: Sign of a polynomial   Contents

Implementation

 
int Sign_Polynomial_Interval(int Degree,VECTOR &Coeff,REAL P)
int Sign_Polynomial_Interval(int Degree,INTERVAL_VECTOR &Coeff,REAL P)
int Sign_Polynomial_Interval(int Degree,INTERVAL_VECTOR &Coeff,REAL P)
int Sign_Polynomial_Interval(int Degree,INTERVAL_VECTOR &Coeff,INTERVAL P)
with:

This procedure returns 1 if the polynomial is positive, -1 if it is negative, 0 if it is 0 and 2 if the sign is either affected by numerical errors (if Coeff and P are REAL) or is not constant (if Coeff or P are INTERVAL_VECTOR).



Jean-Pierre Merlet 2012-12-20