]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/interpolate_padic_uvar.h
Happy New Year!
[ginac.git] / ginac / polynomial / interpolate_padic_uvar.h
index 46c2777ee46956c1b29a7b2dce02c5dacd235a32..c67f98479685a4f0269f8021140be0bcbf46ae30 100644 (file)
@@ -1,9 +1,32 @@
-#ifndef GINAC_UPOLY_INTERPOLATE_PADIC_TCC
-#define GINAC_UPOLY_INTERPOLATE_PADIC_TCC
-#include "ring_traits.hpp"
+/** @file interpolate_padic_uvar.h
+ *
+ *  Utility function for interpolation. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2019 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