]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/gcd_euclid.h
Added `degree_vector' utility function.
[ginac.git] / ginac / polynomial / gcd_euclid.h
index 4e148d1dc8eac6e7fb55ac4d306d76256285249a..5d6b50ff507edcf2729767e17277c4ab3e1db00f 100644 (file)
@@ -1,13 +1,35 @@
-#ifndef GINAC_GCD_EUCLID
-#define GINAC_GCD_EUCLID
+/** @file gcd_euclid.h
+ *
+ *  GCD using Euclidean algorithm. */
+
+/*
+ *  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_GCD_EUCLID_H
+#define GINAC_GCD_EUCLID_H
+
 #include "upoly.h"
 #include "remainder.h"
 #include "normalize.h"
 #include "debug.h"
 #include "upoly_io.h"
 
-namespace GiNaC
-{
+namespace GiNaC {
 
 static bool
 gcd_euclid(umodpoly& c, umodpoly /* passed by value */ a, umodpoly b)
@@ -41,5 +63,4 @@ gcd_euclid(umodpoly& c, umodpoly /* passed by value */ a, umodpoly b)
 
 } // namespace GiNaC
 
-#endif // GINAC_GCD_EUCLID
-
+#endif // ndef GINAC_GCD_EUCLID_H