Searched refs:M2 (Results 1 – 2 of 2) sorted by relevance
18 double n, mean, M2; member131 stats->M2 = 0.0; in init_stats()
27 stats->M2 += delta*(val - stats->mean); in update_stats()64 variance = stats->M2 / (stats->n - 1); in stddev_stats()