Talk:Cumulative standard deviation: Difference between revisions

→‎Function takes vector/array or single value?: single value at a time; implementation must be stateful
(Function takes vector/array or single value?)
(→‎Function takes vector/array or single value?: single value at a time; implementation must be stateful)
Line 5:
==Function takes vector/array or single value?==
I took the task description to mean that the function should be called multiple times with a succession of values - hence the need of state between calls. Some think that the function should take an array of values. What to do? --[[User:Paddy3118|Paddy3118]] 11:45, 17 June 2009 (UTC)
:The function should hold state between calls and take a single value at a time. Some people can't seem to resist implementing it wrongly. —[[User:Dkf|Donal Fellows]] 12:31, 17 June 2009 (UTC)
Anonymous user