rGeneralizedGamma

Function to generate random observation from a generalized gamma distribution.

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

Examples

auto x = rGeneralizedGamma(0.8, 3.0) * 5;

Meta