Averages/Simple moving average: Difference between revisions
Content added Content deleted
(→{{header|PL/I}}: Incorrect: moved and continued discussion on discussion page) |
(Clarified task description) |
||
Line 3: | Line 3: | ||
The task is to: |
The task is to: |
||
:''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.'' |
:''Create a [[wp:Stateful|stateful]] function/class/instance that takes a period and returns a routine that takes number as argument and returns a simple moving average of its arguments so far.'' |
||
'''Description'''<br> |
'''Description'''<br> |