]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/primes_factory.h
Prettified source code.
[ginac.git] / ginac / polynomial / primes_factory.h
index 0ebc872967d11ca1cc05f72730a04532fd5d4810..9fcc53f4bd0665b991d28abda6d9cbff0c63e006 100644 (file)
@@ -1,13 +1,36 @@
+/** @file primes_factory.h
+ *
+ *  Factory for prime numbers. */
+
+/*
+ *  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_CHINREM_GCD_PRIMES_FACTORY_H
 #define GINAC_CHINREM_GCD_PRIMES_FACTORY_H
 #ifndef GINAC_CHINREM_GCD_PRIMES_FACTORY_H
 #define GINAC_CHINREM_GCD_PRIMES_FACTORY_H
+
+#include "smod_helpers.h"
+#include "debug.h"
+
 #include <cln/integer.h>
 #include <cln/numtheory.h>
 #include <limits>
 #include <cln/integer.h>
 #include <cln/numtheory.h>
 #include <limits>
-#include "smod_helpers.h"
-#include "debug.h"
 
 
-namespace GiNaC
-{
+namespace GiNaC {
 
 /**
  * Find a `big' prime p such that lc mod p != 0. Helper class used by modular
 
 /**
  * Find a `big' prime p such that lc mod p != 0. Helper class used by modular
@@ -56,5 +79,4 @@ public:
 
 } // namespace GiNaC
 
 
 } // namespace GiNaC
 
-#endif /* GINAC_CHINREM_GCD_PRIMES_FACTORY_H */
-
+#endif // ndef GINAC_CHINREM_GCD_PRIMES_FACTORY_H