X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpolynomial%2Fsr_gcd_uvar.h;h=58600cbf657dfcfa6a26ed166ce1afe47cd4d0cc;hp=eead0027c418d4976eef6835604f8f3aeff76d6e;hb=1602530f716ba1d425a0667b897182b99c374823;hpb=3627c2c0f2fe8fe04816703c5fc6dad9c96fb0a6 diff --git a/ginac/polynomial/sr_gcd_uvar.h b/ginac/polynomial/sr_gcd_uvar.h index eead0027..58600cbf 100644 --- a/ginac/polynomial/sr_gcd_uvar.h +++ b/ginac/polynomial/sr_gcd_uvar.h @@ -1,13 +1,36 @@ -#ifndef GINAC_UPOLY_SR_GCD_TCC -#define GINAC_UPOLY_SR_GCD_TCC +/** @file sr_gcd_uvar.h + * + * GCD function for univariate polynomials using PRS method. */ + +/* + * 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_SR_GCD_H +#define GINAC_UPOLY_SR_GCD_H + #include "upoly.h" #include "ring_traits.h" #include "normalize.h" #include "prem_uvar.h" + #include -namespace GiNaC -{ +namespace GiNaC { /// Calculate GCD of two univariate polynomials @a a and @a b using /// subresultant pseudo-remainder sequence method @@ -89,7 +112,6 @@ sr_gcd_priv(T& g, T a, T b, } while (true); } -} - -#endif // GINAC_UPOLY_SR_GCD_TCC +} // namespace GiNaC +#endif // GINAC_UPOLY_SR_GCD_H