Anonymous user
Cumulative standard deviation: Difference between revisions
m
→{{header|C++}}
(compute stdev from vector of moments, not directly from accumulator) |
m (→{{header|C++}}) |
||
Line 594:
=={{header|C++}}==
No attempt to handle different types -- standard deviation is intrinsically a real number.
<lang cpp
#include <assert.h>
#include <cmath>
#include <vector>
|