rInverseGamma

Function to generate random observation from a inverse-gamma distribution.

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

Examples

auto x = rInverseGamma(2.0) * 5;

Meta