00001 /***************************************************************************
00002 numerictypes.h - description
00003 -------------------
00004 begin : Tue Apr 18 2000
00005 copyright : (C) 2000 by Michael Peeters
00006 email : Michael.Peeters@vub.ac.be
00007 ***************************************************************************/
00008
00009 /***************************************************************************
00010 * *
00011 * This program is free software; you can redistribute it and/or modify *
00012 * it under the terms of the GNU General Public License as published by *
00013 * the Free Software Foundation; either version 2 of the License, or *
00014 * (at your option) any later version. *
00015 * *
00016 ***************************************************************************/
00017
00018 #ifndef NUMTYPES_H
00019 #define NUMTYPES_H
00020
00021 #include <complex>
00022 #include <float.h>
00023
00024 namespace MODEL {
00025
00026 // simple
00027 typedef long counter;
00028 typedef signed int integer;
00029 typedef long double number;
00030 typedef number time;
00031 typedef std::complex<number> complex;
00032
00033 const number EPS=1.1E-19; // actual value is 1.0842E-19
00034 const complex I=complex(0,1);
00035
00036 }
00037 #endif // NUMTYPES_H
00038
00039 /*********************************************************************
00040 $Id: numerictypes.h,v 1.1 2001/05/22 10:54:55 mpeeters Exp $
00041 **********************************************************************
00042
00043 $Log: numerictypes.h,v $
00044 Revision 1.1 2001/05/22 10:54:55 mpeeters
00045 Moved sources and headers for libModel to model/ subdirectory, in an attempt to rationalize the source tree. This should make things "netter".
00046
00047 Revision 1.3 2001/05/21 11:53:16 mpeeters
00048 Removed Makefile.in, which is automatically generated anyway.
00049
00050 Revision 1.2 2000/09/15 10:26:31 mpeeters
00051 Cleaned out header and added CVS tails to files, removed superfuous
00052 @author comments, inserted dates
00053
00054 *********************************************************************/
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.