Averages/Simple moving average: Difference between revisions

→‎{{header|PL/I}}: Incorrect: moved and continued discussion on discussion page
(→‎{{header|PL/I}}: Incorrect: moved and continued discussion on discussion page)
Line 931:
 
=={{header|PL/I}}==
{{incorrect|PL/I|The period is fixed. There is no generator of an SMA function of variable period (The I(P) mentioned in the task description).----------------------
Then the description of the problem is incorrect.
The description says that it can be implemented with an initializer,
but there is no requirement that it must be.
Naturally, the period P is fixed. That is a requirement
in order to be an SMA of the last P items. -------------------------
}}.
<lang>
Anonymous user