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

SFExceptions.h

Go to the documentation of this file.
00001 #ifndef SFEXCEPTIONS_H
00002 #define SFEXCEPTIONS_H
00003 
00004 // ----------------------------------------------------------------------
00005 //
00006 // SFExceptions.h - header defining all exceptions needed by the
00007 //                GSL special functions wrappers.
00008 //
00009 //
00010 // ZMexception
00011 //
00012 //   ZMxSpecFun
00013 //
00014 //  GSL_SUCCESS  = 0, 
00015 //  GSL_FAILURE  = -1,
00016 //  GSL_CONTINUE = -2,  /* iteration has not converged */
00017 //  GSL_EDOM     = 1,   /* input domain error, e.g sqrt(-1) */
00018 //  GSL_ERANGE   = 2,   /* output range error, e.g. exp(1e100) */
00019 //  GSL_EFAULT   = 3,   /* invalid pointer */
00020 //  GSL_EINVAL   = 4,   /* invalid argument supplied by user */
00021 //  GSL_EFAILED  = 5,   /* generic failure */
00022 //  GSL_EFACTOR  = 6,   /* factorization failed */
00023 //  GSL_ESANITY  = 7,   /* sanity check failed - shouldn't happen */
00024 //  GSL_ENOMEM   = 8,   /* malloc failed */
00025 //  GSL_EBADFUNC = 9,   /* problem with user-supplied function */
00026 //  GSL_ERUNAWAY = 10,  /* iterative process is out of control */
00027 //  GSL_EMAXITER = 11,  /* exceeded max number of iterations */
00028 //  GSL_EZERODIV = 12,  /* tried to divide by zero */
00029 //  GSL_EBADTOL  = 13,  /* user specified an invalid tolerance */
00030 //  GSL_ETOL     = 14,  /* failed to reach the specified tolerance */
00031 //  GSL_EUNDRFLW = 15,  /* underflow */
00032 //  GSL_EOVRFLW  = 16,  /* overflow  */
00033 //  GSL_ELOSS    = 17,  /* loss of accuracy */
00034 //  GSL_EROUND   = 18,  /* failed because of roundoff error */
00035 //  GSL_EBADLEN  = 19,  /* matrix, vector lengths are not conformant */
00036 //  GSL_ENOTSQR  = 20,  /* matrix not square */
00037 //  GSL_ESING    = 21,  /* apparent singularity detected */
00038 //  GSL_EDIVERGE = 22,  /* integral or series is divergent */
00039 //  GSL_EUNSUP   = 23,  /* requested feature is not supported by the hardware */
00040 //  GSL_EUNIMPL  = 24,  /* requested feature not (yet) implemented */
00041 //  GSL_ECACHE   = 25,  /* cache limit exceeded */
00042 //  GSL_ETABLE   = 26,  /* table limit exceeded */
00043 //  GSL_ENOPROG  = 27,  /* iteration is not making progress towards solution */
00044 //  GSL_ENOPROGJ = 28,  /* jacobian evaluations are not improving the solution */
00045 //  GSL_ETOLF    = 29,  /* cannot reach the specified tolerance in F */
00046 //  GSL_ETOLX    = 30,  /* cannot reach the specified tolerance in X */
00047 //  GSL_ETOLG    = 31,  /* cannot reach the specified tolerance in gradient */
00048 //  GSL_EOF      = 32   /* end of file */
00049 
00050 #ifndef ZMENVIRONMENT_H
00051   #include "ZMutility/ZMenvironment.h"
00052 #endif
00053 
00054 #include "Exceptions/ZMexception.h"
00055 #include "Exceptions/ZMthrow.h"
00056 
00057 ZM_USING_NAMESPACE( zmex )
00058 
00059 ZM_BEGIN_NAMESPACE( zmsf )      /*  namespace zmsf  {  */
00060 
00061   ZMexStandardDefinition(ZMexception,ZMxSpecFun);
00062   ZMexStandardDefinition(ZMxSpecFun,ZMxFailure);
00063   ZMexStandardDefinition(ZMxSpecFun,ZMxContinue);
00064   ZMexStandardDefinition(ZMxSpecFun,ZMxDomain);
00065   ZMexStandardDefinition(ZMxSpecFun,ZMxRange);
00066   ZMexStandardDefinition(ZMxSpecFun,ZMxFault);
00067   ZMexStandardDefinition(ZMxSpecFun,ZMxInval);
00068   ZMexStandardDefinition(ZMxSpecFun,ZMxFailed);
00069   ZMexStandardDefinition(ZMxSpecFun,ZMxFactor);
00070   ZMexStandardDefinition(ZMxSpecFun,ZMxSanity);
00071   ZMexStandardDefinition(ZMxSpecFun,ZMxNoMem);
00072   ZMexStandardDefinition(ZMxSpecFun,ZMxBadFunc);
00073   ZMexStandardDefinition(ZMxSpecFun,ZMxRunAway);
00074   ZMexStandardDefinition(ZMxSpecFun,ZMxMaxIter);
00075   ZMexStandardDefinition(ZMxSpecFun,ZMxZeroDiv);
00076   ZMexStandardDefinition(ZMxSpecFun,ZMxBadTol);
00077   ZMexStandardDefinition(ZMxSpecFun,ZMxTol);
00078   ZMexStandardDefinition(ZMxSpecFun,ZMxUndrFlow);
00079   ZMexStandardDefinition(ZMxSpecFun,ZMxOvrFlow);
00080   ZMexStandardDefinition(ZMxSpecFun,ZMxLoss);
00081   ZMexStandardDefinition(ZMxSpecFun,ZMxRound);
00082   ZMexStandardDefinition(ZMxSpecFun,ZMxBadLen);
00083   ZMexStandardDefinition(ZMxSpecFun,ZMxNotSqr);
00084   ZMexStandardDefinition(ZMxSpecFun,ZMxSingular);
00085   ZMexStandardDefinition(ZMxSpecFun,ZMxDiverge);
00086   ZMexStandardDefinition(ZMxSpecFun,ZMxUnsup);
00087   ZMexStandardDefinition(ZMxSpecFun,ZMxUnimpl);
00088   ZMexStandardDefinition(ZMxSpecFun,ZMxCache);
00089   ZMexStandardDefinition(ZMxSpecFun,ZMxTable);
00090   ZMexStandardDefinition(ZMxSpecFun,ZMxNoProg);
00091   ZMexStandardDefinition(ZMxSpecFun,ZMxNoProgJ);
00092   ZMexStandardDefinition(ZMxSpecFun,ZMxTolF);
00093   ZMexStandardDefinition(ZMxSpecFun,ZMxTolX);
00094   ZMexStandardDefinition(ZMxSpecFun,ZMxTolG);
00095   ZMexStandardDefinition(ZMxSpecFun,ZMxEOF);
00096 
00097   ZMexStandardDefinition(ZMxSpecFun,ZMxNoInputFile);
00098   ZMexStandardDefinition(ZMxSpecFun,ZMxNoOutputFile);
00099 
00100 ZM_END_NAMESPACE( zmsf )        /*  }  // namespace zmsf  */
00101 
00102 #endif // SFEXCEPTIONS_H

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