X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpolynomial%2Feval_uvar.h;h=169d514e26f14d76c011ab36d8aeb4cf22f5fdff;hp=31fe591a0af17bb73f3480f0843bb51cf4e17845;hb=1602530f716ba1d425a0667b897182b99c374823;hpb=3627c2c0f2fe8fe04816703c5fc6dad9c96fb0a6;ds=sidebyside diff --git a/ginac/polynomial/eval_uvar.h b/ginac/polynomial/eval_uvar.h index 31fe591a..169d514e 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 +/** @file eval_uvar.h + * + * Numerical evaluation of univariate polynomials. */ + +/* + * GiNaC Copyright (C) 1999-2009 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 -{ +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