MCPcopy Create free account
hub / github.com/TheAlgorithms/C / stats_computer2

Function stats_computer2

numerical_methods/realtime_stats.c:61–86  ·  view source on GitHub ↗

* continuous mean and variance computance using * Welford's algorithm (very accurate) * \param[in] x new value added to data set * \param[out] mean if not NULL, mean returns mean of data set * \param[out] variance if not NULL, mean returns variance of data set * \param[out] std if not NULL, mean returns standard deviation of data set */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_functionFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_functionFunction · 0.68