public class ErlangMRG extends MultivariateRandomGenerator
alpha_i \in N
. It is a kind of
"multivariate Erlang distribution".Constructor and Description |
---|
ErlangMRG()
Constructor that creates a new multivariate random generator with
underlying Erlang distribution.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(double[] d,
int start,
int n,
MRGParams p)
Generates a
n -dimensional random array as part of the array
d beginning at start . |
generate
public ErlangMRG()
public void generate(double[] d, int start, int n, MRGParams p)
MultivariateRandomGenerator
n
-dimensional random array as part of the array
d
beginning at start
.generate
in class MultivariateRandomGenerator
d
- the arraystart
- the start index for generated valuesn
- the dimension of the random arrayp
- the parameter of the underlying distribution