Geometric Distribution


The Geometric distribution has the probability density function (PDF):

\[f(k;p)=(1-p)^k p\]

where \(p\in[0,1]\) is the failure probability and \(k\in\mathbb{Z}^{+}\) the number of failures.


e["Distribution"][*index*]["Type"] = "Univariate/Geometric"

Distribution Configuration

These are settings required by this distribution.

Success Probability
  • Usage: e[“Success Probability”] = real number

  • Description:


These are settings required by this module.

  • Usage: e[“Name”] = string

  • Description: Defines the name of the distribution.

Random Seed
  • Usage: e[“Random Seed”] = unsigned integer

  • Description: Defines the random seed of the distribution.

  • Usage: e[“Range”] = gsl_rng

  • Description: Stores the current state of the distribution in hexadecimal notation.

Default Configuration

These following configuration will be assigned by default. Any settings defined by the user will override the given settings specified in these defaults.

"Name": "",
"Random Seed": 0,
"Range": ""