X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fpolynomial%2Fmod_gcd.h;h=aa505c73c96c3c1f4788dae1344bf84508187897;hp=9307dd35d60a74aaeba0497f317b7112f40289b3;hb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6;hpb=80b1c3e0ee0e465d56e5c76bef4e52ef2dbc5197 diff --git a/ginac/polynomial/mod_gcd.h b/ginac/polynomial/mod_gcd.h index 9307dd35..aa505c73 100644 --- a/ginac/polynomial/mod_gcd.h +++ b/ginac/polynomial/mod_gcd.h @@ -1,11 +1,34 @@ -#ifndef GINAC_MOD_GCD_HPP -#define GINAC_MOD_GCD_HPP +/** @file mod_gcd.h + * + * Interface to modular GCD. */ + +/* + * GiNaC Copyright (C) 1999-2014 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_MOD_GCD_H +#define GINAC_MOD_GCD_H + #include "upoly.h" -namespace GiNaC -{ +namespace GiNaC { + extern void mod_gcd(upoly& result, upoly A, upoly B); -} -#endif // GINAC_MOD_GCD_HPP +} // namespace GiNaC +#endif // ndef GINAC_MOD_GCD_H