rWeibull

Function to generate random observation from a Weibull distribution.

  1. T rWeibull(T shape)
    T
    rWeibull
    (
    T = double
    )
    ()
    if (
    isFloatingPoint!T
    )
  2. T rWeibull(UniformRNG rng, T power)

Examples

auto x = rWeibull(2.0) * 5 + 1;

Meta