ErlangDistribution Type

Generates Erlang distributed random numbers.

            
             Return Erlang distributed random deviates according to:
            
                                  a-1  -bx
                            b (bx)    e
              p   (x) dx = ---------------- dx   for x > 0
               a,b             Gamma(a)
            
                         =  0                    otherwise
            
             The Erlang distribution is a special case of the Gamma distribution
             with integer valued order a.
            
             References:
             see references in:
             W. H. Press, B. P. Flannery, S. A. Teukolsky, W. T. Vetterling,
             Numerical Recipies in C, Cambridge Univ. Press, 1988.

Constructors

Constructor Description

ErlangDistribution(order, loc)

Full Usage: ErlangDistribution(order, loc)

Parameters:
    order : int
    loc : float

order : int
loc : float

ErlangDistribution(order, loc, ran)

Full Usage: ErlangDistribution(order, loc, ran)

Parameters:

order : int
loc : float
ran : RandomGenerator

Instance members

Instance member Description

this.CDF

Full Usage: this.CDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Location

Full Usage: this.Location

Returns: float

Returns: float

this.NextDouble

Full Usage: this.NextDouble

Returns: float
Modifiers: abstract

Returns: float

this.Order

Full Usage: this.Order

Returns: int

Returns: int

this.PDF

Full Usage: this.PDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Quantile

Full Usage: this.Quantile

Parameters:
    p : float

Returns: float
Modifiers: abstract

p : float
Returns: float