Averages/Simple moving average: Difference between revisions

crosslink to the similar Standard Deviation task
(add E example)
(crosslink to the similar Standard Deviation task)
Line 3:
 
Create a [[wp:Stateful|stateful]] function/class/instance that takes a number as argument and returns a simple moving average of its arguments so far.
 
See also: [[Standard Deviation]]
 
=={{header|AutoHotkey}}==
ahk forum: [http://www.autohotkey.com/forum/post-276695.html#276695 discussion]