Cumulative standard deviation: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 252: | Line 252: | ||
StatObject NewStatObject( Action action ) |
StatObject NewStatObject( Action action ) |
||
{ |
{ |
||
so = |
so = malloc(sizeof(sStatObject)); |
||
so->sum = 0.0; |
so->sum = 0.0; |
||
so->sum2 = 0.0; |
so->sum2 = 0.0; |