Class: ExponentialDistribution

Inherits:
Object
  • Object
show all
Defined in:
lib/flows_distributions/exponential_distribution.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#muObject (readonly)

Returns the value of attribute mu.



2
3
4
# File 'lib/flows_distributions/exponential_distribution.rb', line 2

def mu
  @mu
end