X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpolynomial%2Fpgcd.h;h=e46500cde160fa729a4d049d0ecf18ad24acd2a2;hp=5e720381690a5a1daa11aff3cbdfd97a7279bd90;hb=HEAD;hpb=45b1e47372090352ac5af655b32473df2abab23b diff --git a/ginac/polynomial/pgcd.h b/ginac/polynomial/pgcd.h index 5e720381..c8363ac7 100644 --- a/ginac/polynomial/pgcd.h +++ b/ginac/polynomial/pgcd.h @@ -1,9 +1,31 @@ +/** @file pgcd.h + * + * Interface to GCD functions for polynomials over prime fields. */ + +/* + * GiNaC Copyright (C) 1999-2024 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_CHINREM_GCD_PGCD_H #define GINAC_CHINREM_GCD_PGCD_H + #include "ex.h" -namespace GiNaC -{ +namespace GiNaC { /// Exception to be thrown when modular GCD algorithm fails struct pgcd_failed @@ -24,4 +46,4 @@ pgcd(const ex& A, const ex& B, const exvector& vars, const long p); } // namespace GiNaC -#endif +#endif // ndef GINAC_CHINREM_GCD_PGCD_H