Main Page | Alphabetical List | Class List | File List | Class Members | File Members

ErrorFunction.h

Go to the documentation of this file.
00001 #ifndef ERRORFUNCTION_H
00002 #define ERRORFUNCTION_H
00003 
00004 
00005 // ----------------------------------------------------------------------
00006 //
00007 // Bridge object between C++ code and the GSL error functions
00008 //
00009 // ----------------------------------------------------------------------
00010 
00011 #ifndef ZMENVIRONMENT_H
00012   #include "ZMutility/ZMenvironment.h"
00013 #endif
00014 #include <utility>
00015 
00016 ZM_BEGIN_NAMESPACE( zmsf )      /*  namespace zmsf  {  */
00017 
00018 typedef std::pair<double,double> Dpair;
00019 
00024 
00025 struct ErrorFunction {
00026 
00028   static double Erfc( const double x );
00029 
00031   static Dpair ErfcErr( const double x );
00032 
00034   static double lnErfc( const double x );
00035 
00037   static Dpair lnErfcErr( const double x );
00038 
00040   static double Erf( const double x );
00041 
00043   static Dpair ErfErr( const double y );
00044 
00046   static double ProbZ( const double x );
00047 
00049   static Dpair ProbZErr( const double x );
00050 
00052   static double ProbQ( const double x );
00053 
00055   static Dpair ProbQErr( const double x );
00056 
00057 };  // ErrorFunction
00058 
00059 ZM_END_NAMESPACE( zmsf )        /*  }  // namespace zmsf  */
00060 
00061 #endif  /* ERRORFUNCTION_H */

Generated on Wed Feb 25 15:03:16 2004 for SpecialFunctions by doxygen 1.3.4