00001 /*************************************************************************** 00002 * 00003 * $Id: StMath.hh,v 1.4 2004/01/27 02:51:57 perev Exp $ 00004 * 00005 * Author: Thomas Ullrich, Apr 2000 00006 *************************************************************************** 00007 * 00008 * Description: Prototypes for various specialized math routines. 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StMath.hh,v $ 00013 * Revision 1.4 2004/01/27 02:51:57 perev 00014 * Add finite() for float 00015 * 00016 * Revision 1.3 2003/11/25 04:22:33 perev 00017 * finite(float) implemented 00018 * 00019 * Revision 1.2 2003/11/20 03:02:07 perev 00020 * New utility class StMath 00021 * 00022 * Revision 1.1 2000/04/06 22:23:29 ullrich 00023 * Initial Revision 00024 * 00025 **************************************************************************/ 00026 #ifndef StMath_hh 00027 #define StMath_hh 00028 00029 double probChiSquared(double, unsigned int); 00030 00031 class StMath 00032 { 00033 public: 00034 static int tooBig(float *arr, int narr, double toobig = 1.e+6); 00035 static int tooBig(double *arr, int narr, double toobig = 1.e+6); 00036 static int Finite(const float &f); 00037 static int Finite(const double &f); 00038 }; 00039 00040 00041 #endif
1.5.9