Averages/Simple moving average: Difference between revisions

m
Line 2,636:
 
=={{header|Phix}}==
firstFirst create a separate file sma.e to encapsulate the private variables. Note in particular the complete lack of any special magic/syntax: it is just a table with some indexes.
<lang Phix>
sequence sma = {} -- {{period,history,circnxt}} (private to sma.e)
7,813

edits