Compute variance of the distribution of x values.
- Parametri
-
[in] | minimum | Minimum amount of accumulated data to perform the computation |
- Restituisce
- value of the variance. If N is less the minimum returns NaN
Definizione alla linea 154 del file statistics.h.
Referenziato da radarelab::Statistic< T >::compute_dev_std().
157 if(N>=minimum)
return M2/(double)N;
158 else return sqrt(-1);