X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpolynomial%2Fheur_gcd_uvar.h;h=346f24952672b9d8551bf3d1655273b27ec3819e;hp=8dcccd222fd31bea20ee53828d4e374f45e50db8;hb=63f3e977f92d51ea173382a9b7c4c3b18bda7b8e;hpb=80b1c3e0ee0e465d56e5c76bef4e52ef2dbc5197 diff --git a/ginac/polynomial/heur_gcd_uvar.h b/ginac/polynomial/heur_gcd_uvar.h index 8dcccd22..346f2495 100644 --- a/ginac/polynomial/heur_gcd_uvar.h +++ b/ginac/polynomial/heur_gcd_uvar.h @@ -1,15 +1,38 @@ -#ifndef GINAC_UPOLY_HEUR_GCD -#define GINAC_UPOLY_HEUR_GCD +/** @file heur_gcd_uvar.h + * + * Heuristic GCD code. */ + +/* + * GiNaC Copyright (C) 1999-2018 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_HEUR_GCD_H +#define GINAC_UPOLY_HEUR_GCD_H + #include "upoly.h" #include "ring_traits.h" #include "normalize.h" #include "remainder.h" #include "eval_uvar.h" #include "interpolate_padic_uvar.h" + #include -namespace GiNaC -{ +namespace GiNaC { /// Compute GCD of primitive univariate polynomials. template static bool @@ -62,5 +85,4 @@ heur_gcd_z_priv(T& g, const T& a, const T& b, const unsigned max_tries = 66) } // namespace GiNaC -#endif // GINAC_UPOLY_HEUR_GCD - +#endif // ndef GINAC_UPOLY_HEUR_GCD_H