|
MathRandomGamma
Generates a pseudorandom variable distributed according to the law of gamma distribution with the a and b parameters. In case of error it returns NaN.
double MathRandomGamma(
|
Generates pseudorandom variables distributed according to the law of gamma distribution with the a and b parameters. In case of error it returns false. Analog of the rgamma() in R.
bool MathRandomGamma(
|
Parameters
a
[in] The first parameter of the distribution (shape).
b
[in] The second parameter of the distribution (scale).
error_code
[out] Variable to store the error code.
data_count
[out] Amount of required data.
result[]
[out] Array to obtain the values of pseudorandom variables.