Averages/Simple moving average: Difference between revisions
Content added Content deleted
(Changed to use "deques" instead of "queues" as the latter is no longer supported. Changed output format to that of version 1.4.) |
Thundergnat (talk | contribs) m (→{{header|Icon}} and {{header|Unicon}}: Regularize non-standard header markup) |
||
Line 2,016: | Line 2,016: | ||
num=10 SMA3=2 SMA5=3</pre> |
num=10 SMA3=2 SMA5=3</pre> |
||
== |
=={{header|Icon}} and {{header|Unicon}}== |
||
<lang unicon>procedure main(A) |
<lang unicon>procedure main(A) |
||
sma := buildSMA(3) # Use better name than "I". |
sma := buildSMA(3) # Use better name than "I". |