sample

open override fun sample(random: Random): Double(source)

Draws a single random value from this Weibull distribution.

Uses the inverse CDF method, which is exact because the quantile function has a closed-form expression.

Return

a random value drawn from this distribution.

Parameters

random

the source of randomness.