randWeibull

Syntax

randWeibull(alpha, beta, count)

Details

Return a vector of random values with Weibull distribution.

Parameters

The scale parameter alpha and the shape parameter beta are both positive floating numbers.

count is the number of random values to be generated.

Returns

A DOUBLE vector of length count.

Examples

randWeibull(2.31,0.61, 2);
// output: [0.524197, 0.51402]