]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/remainder.h
Prettified source code.
[ginac.git] / ginac / polynomial / remainder.h
index 3b62ec4a485e470ab8bd57fa6447f3331562d04c..c099dfe9f9d4b7caabf33f455390d860b121145d 100644 (file)
@@ -1,12 +1,35 @@
-#ifndef GINAC_UPOLY_REMAINDER_TCC
-#define GINAC_UPOLY_REMAINDER_TCC
+/** @file remainder.h
+ *
+ *  Functions calculating remainders. */
+
+/*
+ *  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_UPOLY_REMAINDER_H
+#define GINAC_UPOLY_REMAINDER_H
+
 #include "upoly.h"
 #include "ring_traits.h"
 #include "upoly_io.h"
 #include "debug.h"
 
-namespace GiNaC
-{
+namespace GiNaC {
+
 /**
  * @brief Polynomial remainder for univariate polynomials over fields
  *
@@ -110,7 +133,7 @@ bool remainder_in_ring(T& r, const T& a, const T& b)
        canonicalize(r);
        return r.empty();
 }
-} // namespace GiNaC
 
-#endif // GINAC_UPOLY_REMAINDER_TCC
+} // namespace GiNaC
 
+#endif // GINAC_UPOLY_REMAINDER_H