Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBnum.hxx

Go to the documentation of this file.
00001 #ifndef _CTBnum_HXX
00002 #define _CTBnum_HXX 1
00003 
00008 /*----------------------------------------------------------------------------*/
00009 /* C Tool Box: Designed and implemented by:                                   */
00010 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00011 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00012 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00013 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00014 /*------------------------------------------+---------------------------------*/
00015 
00016 template <class T>
00017 T               CTBmin(T v1, T v2);
00018 template <class T>
00019 T               CTBmax(T v1, T v2);
00020 
00021 template <class T>
00022 T               CTBabs(T x);
00023 int             CTBabs(int  x);
00024 long            CTBabs(long x);
00025 float           CTBabs(float x);
00026 double          CTBabs(double x);
00027 
00028 template <class T>
00029     T               CTBabsm(T x);
00030 template <class T>
00031     T               CTBabs2(T x);
00032 
00033 template <class T1, class T2>
00034 T1                  CTBsign(T1 x1, T2 x2);
00035 
00036 template <class T>
00037 bool                CTBbetween(T x, T a, T b);
00038 template <class T>
00039 bool                CTBinside(T x, T a, T b);
00040 
00041 template <class T>
00042     T               CTBarg(T x);
00043 template <class T>
00044     T               CTBreal(T x);
00045 template <class T>
00046     T               CTBimag(T x);
00047 template <class T>
00048     T               CTBconj(T x);
00049 
00050 // part of the implementation is inlined and always included here
00051 #include "CTBnum.icc"
00052 
00053 #endif

Generated at Fri Oct 24 18:11:29 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001