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