#ifndef Polynome_HPP #define Polynome_HPP #include include //#include "IFonction.hpp" #include "Rn.hpp" class Polynome:public IFonction{ private: int degre ; Rn & coef; public: //constructeur qui prend en compte le degre Polynome(const Rn& coefp); //Pour initialiser les coef void setcoef(const Rn & coefp); double operator () (double) const; // virtual double integral (double a, double b) const; //virtual AutoPtr derivee () const; virtual std::ostream& affiche(std::ostream& os) const; };