randGamma

Syntax

randGamma(shape, scale, count)

Arguments

The shape parameter shape is a positive floating number.

The scale parameter scale is a positive floating number.

count is the number of random values to be generated.

Details

Return a vector of random values with gamma distribution.

Examples

randGamma(2.31, 0.671, 2);
// output
[0.784424, 0.716934]