X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fexam_mod_gcd.cpp;h=de1faaab6a757559dfe2941ceee1652ba8855464;hp=4407d90aad2681b084e9c105a183ff4cba22c757;hb=352547eac1ff77d754870b3b8299899089edc24b;hpb=546bababce8ef2b3c5ed3011cb7e49bd78016844 diff --git a/check/exam_mod_gcd.cpp b/check/exam_mod_gcd.cpp index 4407d90a..de1faaab 100644 --- a/check/exam_mod_gcd.cpp +++ b/check/exam_mod_gcd.cpp @@ -1,11 +1,35 @@ -#include "polynomial/upoly.hpp" -#include "polynomial/upoly_io.hpp" -#include "polynomial/mod_gcd.hpp" -#include "ginac.h" +/** @file exam_misc.cpp + * + * Testing modular GCD. + */ + +/* + * 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 + */ + #include -#include #include #include +#include + +#include "polynomial/upoly.h" +#include "polynomial/upoly_io.h" +#include "polynomial/mod_gcd.h" +#include "ginac.h" using namespace GiNaC; static upoly ex_to_upoly(const ex& e, const symbol& x); @@ -82,4 +106,3 @@ static upoly make_random_upoly(const std::size_t deg) p[deg] = cln::random_I(biggish); return p; } -