Class: Variance::Base

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Base

Returns a new instance of Base.



7
8
9
10
# File 'lib/variance.rb', line 7

def initialize(args)
  @variance_result = Variance::ComputedVariance.new(args)
  @s_deviation_result = Variance::ComputedStandardDeviation.new(args)
end

Instance Attribute Details

#s_deviation_resultObject (readonly)

Returns the value of attribute s_deviation_result.



5
6
7
# File 'lib/variance.rb', line 5

def s_deviation_result
  @s_deviation_result
end

#variance_resultObject (readonly)

Returns the value of attribute variance_result.



5
6
7
# File 'lib/variance.rb', line 5

def variance_result
  @variance_result
end