Function randomPoisson

  • Returns a function for generating random numbers with a Poisson distribution with mean lambda.

    Parameters

    • lambda: number

      Mean

    Returns (() => number)

      • (): number
      • Returns a function for generating random numbers with a Poisson distribution with mean lambda.

        Returns number