rChiSquare

Function to generate random observation from a Chi-squared distribution.

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

Examples

auto x = rChiSquare(2.0) * 5;

Meta