X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fpolynomial%2Feval_uvar.h;h=0e6f428cbbc3524a4918de584f989ef3b10e1c9a;hb=cda7fd319d75f95fbdac21213a10a04de724d228;hp=0a3bcec8ce2bde4c49912b0bce97e71d50f7d803;hpb=c7d9b624cb4bd5658a36fbcac2f73dbdb99edd5f;p=ginac.git diff --git a/ginac/polynomial/eval_uvar.h b/ginac/polynomial/eval_uvar.h index 0a3bcec8..0e6f428c 100644 --- a/ginac/polynomial/eval_uvar.h +++ b/ginac/polynomial/eval_uvar.h @@ -1,10 +1,32 @@ -#ifndef GINAC_EVAL_UPOLY_TCC -#define GINAC_EVAL_UPOLY_TCC -#include "upoly.hpp" -#include "ring_traits.hpp" +/** @file eval_uvar.h + * + * Numerical evaluation of univariate polynomials. */ -namespace GiNaC -{ +/* + * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef GINAC_EVAL_UPOLY_H +#define GINAC_EVAL_UPOLY_H + +#include "upoly.h" +#include "ring_traits.h" + +namespace GiNaC { /// Evaluate the polynomial using Horner rule. /// TODO: @@ -34,5 +56,4 @@ eval(const T& p, const typename T::value_type& x) } // namespace GiNaC -#endif // GINAC_EVAL_UPOLY_TCC - +#endif // ndef GINAC_EVAL_UPOLY_H