Anonymous user
Averages/Simple moving average: Difference between revisions
→{{header|PARI/GP}}
(added Fantom example) |
|||
Line 1,360:
=={{header|PARI/GP}}==
Partial implementation: does not (yet?) create different stores on each invocation.
<lang parigp>sma_per(n)={
sma_v=vector(n);
sma_i = 0;
|