CoCoALib-0.9905 date: 23 May 2007


config.H

Go to the documentation of this file.
00001 #ifndef CoCoA_config_H
00002 #define CoCoA_config_H
00003 
00004 //   Copyright (c)  2005  John Abbott
00005 
00006 //   This file is part of the source of CoCoALib, the CoCoA Library.
00007 
00008 //   CoCoALib is free software; you can redistribute it and/or modify
00009 //   it under the terms of the GNU General Public License (version 2)
00010 //   as published by the Free Software Foundation.  A copy of the full
00011 //   licence may be found in the file COPYING in this directory.
00012 
00013 //   CoCoALib is distributed in the hope that it will be useful,
00014 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 //   GNU General Public License for more details.
00017 
00018 //   You should have received a copy of the GNU General Public License
00019 //   along with CoCoA; if not, write to the Free Software
00020 //   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 
00022 
00023 namespace CoCoA
00024 {
00025   // The best choice for this typedef may vary from platform to platform.
00026   // These types are used in SmallFpImpl and SmallFpLogImpl (which are used
00027   // by RingFpImpl and RingFpLogImpl respectively).
00028   typedef unsigned int SmallFpElem_t;
00029   typedef unsigned int SmallFpLogElem_t;
00030 
00031   // This is the type used internally for exponents in some PPMonoids
00032   // (PPMonoidEv, PPMonoidEvOv).
00033   typedef unsigned short SmallExponent_t;
00034 
00035 } // end of namespace CoCoA
00036 
00037 
00038 
00039 // RCS header/log in the next few lines.
00040 // $Header: /Volumes/Home/cocoa/cvs-repository/CoCoALib-0.99/include/CoCoA/config.H,v 1.1.1.1 2007/03/09 15:16:11 abbott Exp $
00041 // $Log: config.H,v $
00042 // Revision 1.1.1.1  2007/03/09 15:16:11  abbott
00043 // Imported files
00044 //
00045 // Revision 1.4  2006/12/06 17:17:44  cocoa
00046 // -- removed #include "config.H"
00047 //
00048 // Revision 1.3  2006/10/06 14:04:15  cocoa
00049 // Corrected position of #ifndef in header files.
00050 // Separated CoCoA_ASSERT into assert.H from config.H;
00051 // many minor consequential changes (have to #include assert.H).
00052 // A little tidying of #include directives (esp. in Max's code).
00053 //
00054 // Revision 1.2  2006/08/07 21:23:25  cocoa
00055 // Removed almost all publicly visible references to SmallExponent_t;
00056 // changed to long in all PPMonoid functions and SparsePolyRing functions.
00057 // DivMask remains to sorted out.
00058 //
00059 // Revision 1.1.1.1  2006/05/30 11:39:36  cocoa
00060 // Imported files
00061 //
00062 // Revision 1.2  2006/03/27 12:21:26  cocoa
00063 // Minor silly changes to reduce number of complaints from some compiler or other.
00064 //
00065 // Revision 1.1.1.1  2005/10/17 10:46:54  cocoa
00066 // Imported files
00067 //
00068 // Revision 1.4  2005/09/22 18:04:17  cocoa
00069 // It compiles; the tests run OK.  The examples compile.
00070 // No documentation -- the mindless eurocrats have rendered
00071 // me mindless too.
00072 //
00073 // Revision 1.3  2005/08/08 16:36:32  cocoa
00074 // Just checking in before going on holiday.
00075 // Don't really recall what changes have been made.
00076 // Added IsIndet function for RingElem, PPMonoidElem,
00077 // and a member function of OrdvArith.
00078 // Improved the way failed assertions are handled.
00079 //
00080 // Revision 1.2  2005/07/08 15:09:29  cocoa
00081 // Added new symbol class (to represent names of indets).
00082 // Integrated the new class into concrete polynomial rings
00083 // and PPMonoid -- many consequential changes.
00084 // Change ctors for the "inline" sparse poly rings: they no
00085 // longer expect a PPMonoid, but build their own instead
00086 // (has to be a PPMonoidOv).
00087 //
00088 // Revision 1.1.1.1  2005/05/03 15:47:30  cocoa
00089 // Imported files
00090 //
00091 // Revision 1.2  2005/04/19 14:06:04  cocoa
00092 // Added GPL and GFDL licence stuff.
00093 //
00094 // Revision 1.1.1.1  2005/01/27 15:12:13  cocoa
00095 // Imported files
00096 //
00097 // Revision 1.5  2004/11/08 11:59:33  cocoa
00098 // Messages produced by a failed CoCoA_ASSERT are now printed on
00099 // GlobalErrput() -- previously they were sent to cerr.
00100 //
00101 // Revision 1.4  2004/10/21 17:16:37  cocoa
00102 // Fairly major change: new OrdvArith namspace with various members,
00103 //   new global typedef  SmallExponent_t (defined in config.H).
00104 //
00105 // Revision 1.3  2004/07/13 16:32:26  cocoa
00106 // First stage of major revamp of ring elements.
00107 // Implementation of RingFp has been split into "ring interface"
00108 // and "algorithms plus data structures".
00109 //
00110 // Revision 1.2  2004/01/30 14:07:10  cocoa
00111 // Tidied RingRawValue union: now it contains just two fields,
00112 // and has no need of forward declarations of types used internally
00113 // by the concrete rings -- it uses explicitly a void* instead.
00114 //
00115 // I have tidied the "import" functions used by most concrete rings.
00116 //
00117 // I have moved the choice of representation type for RingFp and RingFpLog
00118 // into a typedef in config.H -- this is to recognise that different
00119 // choices may work best on different platforms.
00120 //
00121 // Revision 1.1.1.1  2003/09/24 12:55:43  cocoa
00122 // Imported files
00123 //
00124 // Revision 1.6  2002/11/13 14:39:27  abbott
00125 // Added a non-empty definition of the CoCoA_ASSERT macro for the
00126 // non-debugging case.  Minor simplification to the debugging definition.
00127 //
00128 // Revision 1.5  2002/11/12 17:07:24  abbott
00129 // Changed name of ASSERT macro into CoCoA_ASSERT (in accordance with
00130 // the coding conventions).
00131 //
00132 // Revision 1.4  2002/03/28 15:59:02  abbott
00133 // Revised ASSERT macro to call AssertionFailed function.
00134 // Added AssertionFailed function to simplify debugging when an
00135 // assertion fails.
00136 //
00137 // Revision 1.3  2001/12/07 18:08:13  abbott
00138 // Removed IFDEBUG macro (and friends) because the GNU CPP rejects it.
00139 // Added ASSERT macro.
00140 //
00141 // Revision 1.2  2001/12/07 15:52:50  abbott
00142 // Added IFDEBUG macro (via the COMMENT and SLASH macros).
00143 //
00144 // Revision 1.1  2001/11/26 19:14:45  abbott
00145 // Initial revision
00146 //
00147 
00148 #endif

Generated on Wed May 23 13:43:34 2007 for CoCoALib by  doxygen 1.4.6