Method: Array#squares_of_deviations

Defined in:
lib/rstats.rb

#squares_of_deviationsObject



52
53
54
55
56
57
58
# File 'lib/rstats.rb', line 52

def squares_of_deviations
  tmp = []
  deviations.each do |val|
    tmp << val**2
  end
  tmp
end