]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/eval_uvar.h
Prettified source code.
[ginac.git] / ginac / polynomial / eval_uvar.h
index 31fe591a0af17bb73f3480f0843bb51cf4e17845..169d514e26f14d76c011ab36d8aeb4cf22f5fdff 100644 (file)
@@ -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