Function randomPareto

  • Returns a function for generating random numbers with a Pareto distribution with the shape alpha. The value alpha must be a positive value.

    Parameters

    • alpha: number

      alpha

    Returns (() => number)

      • (): number
      • Returns a function for generating random numbers with a Pareto distribution with the shape alpha. The value alpha must be a positive value.

        Returns number