Class: ExponentialDistribution
- Inherits:
-
Object
- Object
- ExponentialDistribution
- Defined in:
- lib/flows_distributions/exponential_distribution.rb
Instance Attribute Summary collapse
-
#mu ⇒ Object
readonly
Returns the value of attribute mu.
Instance Method Summary collapse
-
#initialize(mu) ⇒ ExponentialDistribution
constructor
A new instance of ExponentialDistribution.
Constructor Details
#initialize(mu) ⇒ ExponentialDistribution
Returns a new instance of ExponentialDistribution.
4 5 6 |
# File 'lib/flows_distributions/exponential_distribution.rb', line 4 def initialize(mu) @mu = mu end |
Instance Attribute Details
#mu ⇒ Object (readonly)
Returns the value of attribute mu.
2 3 4 |
# File 'lib/flows_distributions/exponential_distribution.rb', line 2 def mu @mu end |