Class: AdvancedMath::SMA

Inherits:
SimpleMovingAverage show all
Defined in:
lib/advanced_math/sma.rb

Overview

SMA is just an alias to SimpleMovingAverage

Instance Method Summary collapse

Methods inherited from SimpleMovingAverage

#add, #add_array

Constructor Details

#initialize(range) ⇒ SMA

Returns a new instance of SMA.



70
71
72
# File 'lib/advanced_math/sma.rb', line 70

def initialize(range)
  super(range)
end