home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
autopsp.zip
/
REGRESS
/
CTD.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-22
|
704b
|
23 lines
// CTD
// Class for the t Distribution curve and it's integral.
#include "CSimp.h"
class CTD : public CSimpson
{
public:
CTD(void); // Constructor.
void SetN(double N); // Sets the private n value
double IntMe(double x); // Function to be integrated.
// DoMath deals with the Gamma
// part of the t distribution and
// calls the Integrator.
double DoMath(double lower, double upper, double total);
private:
double value; // Temporary variable
double n; // n from equation
};