Jump to content

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,830

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.