Exponential Distribution

Contains the concrete definition of ExponentialDistribution.

Example

Creating the distribution:

dist = ExponentialDistribution(4.2)
class gsf.core.mathematics.distributions.exponential_distribution.ExponentialDistribution(mean: float)

Bases: gsf.core.mathematics.distributions.random_distribution.RandomDistribution

Exponential Distribution

Draw samples from a Exponential distribution.

evaluate()decimal.Decimal

Evaluates the expression

generate()decimal.Decimal

Generates a value following the distribution

generate_list(size: int)numpy.ndarray

Generates a ndarray of values following the distribution

Parameters

size (int) – Size of the list