randBeta

Syntax

randBeta(alpha, beta, count)

Arguments

The shape parameters alpha and bata are positive floating numbers.

count is the number of random values to be generated.

Details

Return a vector of random values with beta distribution.

Examples

randBeta(2.31, 0.627, 2);
// output
[0.781246, 0.951372]