home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / autopsp.zip / REGRESS / RFIND.H < prev    next >
C/C++ Source or Header  |  1995-07-23  |  1KB  |  26 lines

  1. // RangeFinder
  2. //  Rangefinder header file which will find the ranges around a guess
  3.  
  4.  
  5. #include "CTD.h"                  // Needed for t distribution.
  6. #include "LRSet.h"                // Needed for linear regression
  7.  
  8. class RangeFinder : public LRSet, public CTD
  9. {
  10.   public:
  11.   RangeFinder(void);              // std. const.
  12.  
  13.                                   // Main workhorse method.
  14.   void   CalcRange(double percent, char *filename, double cur_estimate);
  15.                                   // Finds the std. deviation from the list.
  16.   void   CalcStdDev(void);
  17.  
  18.   double NumValues;               // Number of data values.
  19.   double StdDev;                  // StdDev found in above method.
  20.   double Average;                 // Average value.
  21.   double Range;                   // Range found in CalcRange.
  22.   double UPI;                     // Upper Program Interval
  23.   double LPI;                     // Lower Program Interval
  24.   double PLOC;                    // Projected Lines Of Code
  25. };
  26.