Accumulates min, max, mean and stdev of the test results; based on the Welford method for numerical stability (see http://www.johndcook.com/standard_deviation.html) More...
#include <TestUtils.h>
Public Member Functions | |
| TestStat () | |
| void | operator() (double x) |
| void | add (double x) |
| double | min () const |
| double | max () const |
| double | mean () const |
| double | stdev () const |
Private Attributes | |
| std::mutex | m_mutex |
| double | m_minv |
| double | m_maxv |
| size_t | m_i |
| double | m_a0 |
| double | m_a1 |
| double | m_q0 |
| double | m_q1 |
Accumulates min, max, mean and stdev of the test results; based on the Welford method for numerical stability (see http://www.johndcook.com/standard_deviation.html)
Definition at line 73 of file TestUtils.h.
1.8.8