Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Distributions.h File Reference

#include <math.h>
#include <string>
#include "BaseDefinitions.h"

Include dependency graph for Distributions.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  DistBeta
class  DistBradford
class  DistCauchy
class  DistDiscrete
class  DistExp
 This class describes the exponential distribution. More...

class  DistFoldedNormal
class  DistGamma
 This class describes the Gamma distribution with parameters alpha and beta. More...

class  DistHalfNormal
class  DistLaplace
class  DistLogNormal
 This class describes the LOG-Normal (Gauss) distribution. More...

class  DistNormal
 This class describes the Normal (Gauss) distribution. More...

class  DistPareto
 This class describes the Pareto distribution. More...

class  DistPareto0
 This class describes the 0-Point Pareto distribution. More...

class  Distribution
 This is the base class for all distributions. More...

class  DistTemplate
class  DistUniform
 This class describes the uniform distribution. More...

class  DistWeibull
 This class describes the Weibull distribution, which is a generalization of the Exp dist, so maybe I should make DistExp make its base classe??? TODO. More...


Defines

#define RANGE_NONE   -1
#define RANGE_MININF_INF   0
#define RANGE_0_INF   1
#define RANGE_0_1   2
#define RANGE_PARA1_PARA2   3
#define RANGE_0_PARA1   4
#define RANGE_PARA1_INF   5
#define RANGE_PARA2_INF   6
#define RANGE_PARA3_INF   7
#define RANGE_PARA1P1_INF   8
#define INFINITY   10e+300
#define inf   INFINITY
#define MOMENT_NONE   INFINITY
#define USE_EXP_DIST   1
#define USE_GAMMA_DIST   2
#define USE_NORMAL_DIST   3
#define USE_LOGNORMAL_DIST   4
#define USE_PARETO0_DIST   5
#define USE_WEIBULL_DIST   6
#define IncompleteBeta(p1, p2, p3)    0
#define IncompleteGamma(p1, p2)   0
#define tgamma(x)   exp(lgamma(x))
#define DistLorentz   DistChauchy
#define DistDoubleExponential   DistLaplace
#define DistBilateralExponential   DistLaplace
#define DistGauss   DistNormal
#define DIstCobbDouglas   DistLogNormal
#define DistAntiLogNormal   DistLogNormal
#define DistRectangular   DistUniform
#define DistFrechet   DistWeibull

Functions

DistributionCreateDistribution (long type, Zahl para, Zahl para1)


Define Documentation

#define DIstCobbDouglas   DistLogNormal
 

#define DistAntiLogNormal   DistLogNormal
 

#define DistBilateralExponential   DistLaplace
 

#define DistDoubleExponential   DistLaplace
 

#define DistFrechet   DistWeibull
 

#define DistGauss   DistNormal
 

#define DistLorentz   DistChauchy
 

#define DistRectangular   DistUniform
 

#define INFINITY   10e+300
 

#define IncompleteBeta( p1, p2, p3 )   0
 

#define IncompleteGamma( p1, p2 )   0
 

#define MOMENT_NONE   INFINITY
 

#define RANGE_0_1   2
 

#define RANGE_0_INF   1
 

#define RANGE_0_PARA1   4
 

#define RANGE_MININF_INF   0
 

#define RANGE_NONE   -1
 

#define RANGE_PARA1P1_INF   8
 

#define RANGE_PARA1_INF   5
 

#define RANGE_PARA1_PARA2   3
 

#define RANGE_PARA2_INF   6
 

#define RANGE_PARA3_INF   7
 

#define USE_EXP_DIST   1
 

#define USE_GAMMA_DIST   2
 

#define USE_LOGNORMAL_DIST   4
 

#define USE_NORMAL_DIST   3
 

#define USE_PARETO0_DIST   5
 

#define USE_WEIBULL_DIST   6
 

#define inf   INFINITY
 

#define tgamma( x )   exp(lgamma(x))
 


Function Documentation

Distribution* CreateDistribution ( long type,
Zahl para,
Zahl para1 )
 

This initializes a Distribution and returns a pointer to it.

Parameters:
type   defines which distribution is created, constants defined in Distributions.h
para   First parameter
para1   Second parameter (ignored if distribution has just one param)


Generated at Wed Jun 20 19:47:46 2001 for LDSequences by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001