Cumulative standard deviation: Difference between revisions
Content added Content deleted
Line 1,048: | Line 1,048: | ||
=={{header|Crystal}}== |
=={{header|Crystal}}== |
||
===Object=== |
===Object=== |
||
Use an object to keep state. |
|||
{{trans|Ruby}} |
{{trans|Ruby}} |
||
<lang ruby>class StdDevAccumulator |
<lang ruby>class StdDevAccumulator |