Files
itgmania212121/stepmania
Steve Checkoway d2429cb63b Fix standard deviation calculation. This could probably be done using accumulate, multiplies, minus, bind2nd, distance, and compose2, but that's probably less clear.
Something like
float fMean = calc_mean( pStart, pEnd );
return sqrtf( accumulate(pStart, pEnd, 0.0f, compose2(multiplies<float>(), bind2nd(minus<float>(), fMean), bind2nd(minus<float>(), fMean))) / distance(pStart, pEnd) );
These are easily templated too, if necessary.
2006-07-08 07:49:42 +00:00
..
2006-06-28 00:56:00 +00:00
2006-05-05 21:48:00 +00:00
2006-07-06 19:01:08 +00:00
2006-06-28 23:47:49 +00:00
2006-06-26 10:42:47 +00:00
2006-02-13 04:50:54 +00:00
2006-07-07 18:45:15 +00:00
2006-06-14 00:56:02 +00:00
2006-03-20 18:42:11 +00:00
2006-06-27 22:24:50 +00:00