rExponential

Function to generate random observation from standard exponential distribution.

  1. T rExponential()
    T
    rExponential
    (
    T = double
    )
    (
    )
    if (
    isFloatingPoint!T
    )
  2. T rExponential(ref UniformRNG rng)

Examples

auto x = rExponential() * 5;

Meta