]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/interpolate_padic_uvar.h
Added `degree_vector' utility function.
[ginac.git] / ginac / polynomial / interpolate_padic_uvar.h
index b1d79d98703b4f0cd495175cee03739a6f667c5d..3355a6fa612c8ea5cf77a721ff3c78f301b92590 100644 (file)
@@ -1,9 +1,32 @@
-#ifndef GINAC_UPOLY_INTERPOLATE_PADIC_TCC
-#define GINAC_UPOLY_INTERPOLATE_PADIC_TCC
+/** @file interpolate_padic_uvar.h
+ *
+ *  Utility function for interpolation. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2010 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_UPOLY_INTERPOLATE_PADIC_H
+#define GINAC_UPOLY_INTERPOLATE_PADIC_H
+
 #include "ring_traits.h"
 
-namespace cln
-{
+namespace cln {
+
 static inline cln::cl_I smod(const cln::cl_I& x, const cln::cl_I y)
 {
        cln::cl_I r = mod(x, y);
@@ -15,8 +38,7 @@ static inline cln::cl_I smod(const cln::cl_I& x, const cln::cl_I y)
 
 } // namespace cln
 
-namespace GiNaC
-{
+namespace GiNaC {
 
 template<typename T> static void
 interpolate(T& g, const typename T::value_type& gamma,
@@ -36,5 +58,4 @@ interpolate(T& g, const typename T::value_type& gamma,
 
 } // namespace GiNaC
 
-#endif // GINAC_UPOLY_INTERPOLATE_PADIC_TCC
-
+#endif // ndef GINAC_UPOLY_INTERPOLATE_PADIC_H