X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fpolynomial%2Fgcd_euclid.h;h=f921caf38cab469efcf40cd234e8ac9f7da398fc;hb=d5b86dd10dd9cba12175d07af0b6edfc9a215e36;hp=4e148d1dc8eac6e7fb55ac4d306d76256285249a;hpb=80b1c3e0ee0e465d56e5c76bef4e52ef2dbc5197;p=ginac.git diff --git a/ginac/polynomial/gcd_euclid.h b/ginac/polynomial/gcd_euclid.h index 4e148d1d..f921caf3 100644 --- a/ginac/polynomial/gcd_euclid.h +++ b/ginac/polynomial/gcd_euclid.h @@ -1,13 +1,35 @@ -#ifndef GINAC_GCD_EUCLID -#define GINAC_GCD_EUCLID +/** @file gcd_euclid.h + * + * GCD using Euclidean algorithm. */ + +/* + * GiNaC Copyright (C) 1999-2015 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