IMP logo
IMP Reference Guide  2.6.1
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-2016 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 <vector>
14 #include <utility>
15 
16 IMPMULTISTATE_BEGIN_NAMESPACE
17 
18 double get_average(const std::vector<double>& v);
19 
20 std::pair<double, double> get_average_and_stdev(const std::vector<double>& v);
21 
22 IMPMULTISTATE_END_NAMESPACE
23 
24 #endif /* IMPMULTI_STATE_STAT_HELPERS_H */