Go to the first, previous, next, last section, table of contents.


CNWeibull -- Weibull Distribution

SYNOPSIS

#include <CNCL/Weibull.h>

TYPE

CN_WEIBULL

BASE CLASSES

CNRandom

DERIVED CLASSES

None

RELATED CLASSES

CNRNG

DESCRIPTION

CNWeibull generates Weibull distributed random numbers with a form factor alpha and a scale factor beta.

Constructors:

CNWeibull();
CNWeibull(CNParam *param);
CNWeibull(double alpha, double beta, CNRNG *gen);
Initializes a CNWeibull distribution with a base random number generator gen and parameters alpha and beta.

In addition to the member functions required by CNCL, CNWeibull provides:

double alpha();
double alpha(double x);
double beta();
double beta(double x);
Gets/sets the values for alpha and beta.
virtual double operator() ();
Draws a Weibull distributed random number.


Go to the first, previous, next, last section, table of contents.