rWeibull

Function to generate random observation from a Weibull distribution.

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

Examples

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

Meta