IMP logo
IMP Reference Guide  2.10.0
The Integrative Modeling Platform
stat_helpers.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multi_state/stat_helpers.h
3  * \brief
4  *
5  * \authors Dina Schneidman
6  * Copyright 2007-2018 IMP Inventors. All rights reserved.
7  *
8  */
9 
10 #ifndef IMPMULTI_STATE_STAT_HELPERS_H
11 #define IMPMULTI_STATE_STAT_HELPERS_H
12 
13 #include <IMP/multi_state/multi_state_config.h>
14 #include <vector>
15 #include <utility>
16 
17 IMPMULTISTATE_BEGIN_NAMESPACE
18 
19 double get_average(const std::vector<double>& v);
20 
21 std::pair<double, double> get_average_and_stdev(const std::vector<double>& v);
22 
23 IMPMULTISTATE_END_NAMESPACE
24 
25 #endif /* IMPMULTI_STATE_STAT_HELPERS_H */