GammaRV Class Reference

#include <GammaRV.h>

Inheritance diagram for GammaRV:

RandomVariable ReliabilityDomainComponent TaggedObject List of all members.

Public Member Functions

 GammaRV (int tag, double mean, double stdv, double startValue)
 GammaRV (int tag, double parameter1, double parameter2, double parameter3, double parameter4, double startValue)
 GammaRV (int tag, double mean, double stdv)
 GammaRV (int tag, double parameter1, double parameter2, double parameter3, double parameter4)
 ~GammaRV ()
void Print (OPS_Stream &s, int flag=0)
double getPDFvalue (double rvValue)
double getCDFvalue (double rvValue)
double getInverseCDFvalue (double probValue)
const char * getType ()
double getMean ()
double getStdv ()
double getParameter1 ()
double getParameter2 ()
double getParameter3 ()
double getParameter4 ()
double getStartValue ()
double gammaFunction (double x)
double incompleteGammaFunction (double x, double a)

Detailed Description

Definition at line 39 of file GammaRV.h.


Constructor & Destructor Documentation

GammaRV::GammaRV ( int  tag,
double  mean,
double  stdv,
double  startValue 
)

Definition at line 40 of file GammaRV.cpp.

References RandomVariable::startValue, and RandomVariable::tag.

GammaRV::GammaRV ( int  tag,
double  parameter1,
double  parameter2,
double  parameter3,
double  parameter4,
double  startValue 
)

Definition at line 51 of file GammaRV.cpp.

References RandomVariable::startValue, and RandomVariable::tag.

GammaRV::GammaRV ( int  tag,
double  mean,
double  stdv 
)

Definition at line 64 of file GammaRV.cpp.

References getMean(), RandomVariable::startValue, and RandomVariable::tag.

GammaRV::GammaRV ( int  tag,
double  parameter1,
double  parameter2,
double  parameter3,
double  parameter4 
)

Definition at line 74 of file GammaRV.cpp.

References getMean(), RandomVariable::startValue, and RandomVariable::tag.

GammaRV::~GammaRV (  ) 

Definition at line 88 of file GammaRV.cpp.


Member Function Documentation

void GammaRV::Print ( OPS_Stream s,
int  flag = 0 
) [virtual]

Implements RandomVariable.

Definition at line 94 of file GammaRV.cpp.

double GammaRV::getPDFvalue ( double  rvValue  )  [virtual]

Implements RandomVariable.

Definition at line 100 of file GammaRV.cpp.

References gammaFunction().

double GammaRV::getCDFvalue ( double  rvValue  )  [virtual]

Implements RandomVariable.

Definition at line 114 of file GammaRV.cpp.

References incompleteGammaFunction().

Referenced by getInverseCDFvalue().

double GammaRV::getInverseCDFvalue ( double  probValue  )  [virtual]

Implements RandomVariable.

Definition at line 129 of file GammaRV.cpp.

References endln, getCDFvalue(), getMean(), getStdv(), and opserr.

const char * GammaRV::getType (  )  [virtual]

Implements RandomVariable.

Definition at line 176 of file GammaRV.cpp.

double GammaRV::getMean (  )  [virtual]

Implements RandomVariable.

Definition at line 183 of file GammaRV.cpp.

Referenced by GammaRV(), and getInverseCDFvalue().

double GammaRV::getStdv (  )  [virtual]

Implements RandomVariable.

Definition at line 191 of file GammaRV.cpp.

Referenced by getInverseCDFvalue().

double GammaRV::getParameter1 (  )  [virtual]

Implements RandomVariable.

Definition at line 205 of file GammaRV.cpp.

double GammaRV::getParameter2 (  )  [virtual]

Implements RandomVariable.

Definition at line 206 of file GammaRV.cpp.

double GammaRV::getParameter3 (  )  [virtual]

Implements RandomVariable.

Definition at line 207 of file GammaRV.cpp.

References endln, opserr, and RandomVariable::tag.

double GammaRV::getParameter4 (  )  [virtual]

Implements RandomVariable.

Definition at line 208 of file GammaRV.cpp.

References endln, opserr, and RandomVariable::tag.

double GammaRV::getStartValue (  )  [virtual]

Implements RandomVariable.

Definition at line 198 of file GammaRV.cpp.

References RandomVariable::startValue.

double GammaRV::incompleteGammaFunction ( double  x,
double  a 
)

Definition at line 345 of file GammaRV.cpp.

References gammaFunction(), and n.

Referenced by getCDFvalue(), and ChiSquareRV::getCDFvalue().


The documentation for this class was generated from the following files:
  • OpenSees/SRC/reliability/domain/distributions/GammaRV.h
  • OpenSees/SRC/reliability/domain/distributions/GammaRV.cpp

Generated on Mon Oct 23 15:05:43 2006 for OpenSees by doxygen 1.5.0