Parameters
Double[] alpha
An array with the Dirichlet parameters.
Double[] alphaAn array with the Dirichlet parameters.
Double[] alphaAn array with the Dirichlet parameters.
Random randomSourceThe random number generator which is used to draw random samples.
double alphaThe value of each parameter of the Dirichlet distribution.
int kThe dimension of the Dirichlet distribution.
double alphaThe value of each parameter of the Dirichlet distribution.
int kThe dimension of the Dirichlet distribution.
Random randomSourceThe random number generator which is used to draw random samples.
Double[] alphaThe parameters of the Dirichlet distribution.
Random rndThe random number generator to use.
Double[] alphaThe Dirichlet distribution parameter.
Double[]a sample from the distribution.
The Dirichlet distribution requires that the sum of the components of x equals 1. You can also leave out the last x component, and it will be computed from the others.
Double[] xThe locations at which to compute the density.
doublethe density at x.
Double[] xThe locations at which to compute the density.
doublethe density at x.
Double[]A sample from this distribution.