OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <SumErrSq.h>
Public Member Functions | |
Expressions::Result_t | operator() (client::function::arguments_t args) |
Static Public Attributes | |
static const std::string | name = "SumErrSq" |
Private Member Functions | |
void | parseMeasurements (std::string measurement_filename) |
Private Attributes | |
std::vector< Measurement > | measurements_ |
std::string | var_name_ |
std::string | stat_filename_ |
boost::tuple< std::string, std::string, std::string > | argument_types |
A simple expression computing the sum of all measurement errors (given as first and third argument) for a variable (second argument) according to
\[ result = \frac{1}{n} * \sqrt{\sum_{i=0}^n (measurement_i - value_i)^2} \]
Definition at line 35 of file SumErrSq.h.
|
inline |
Definition at line 39 of file SumErrSq.h.
References Physics::e, endl(), measurements_, parseMeasurements(), sqrt(), stat_filename_, sum(), var_name_, and OptPilotException::what().
|
private |
parses a simple list of spos and measurements using tab as delimiter.
Definition at line 13 of file SumErrSq.cpp.
References measurements_.
Referenced by operator()().
|
private |
Definition at line 92 of file SumErrSq.h.
|
private |
Definition at line 84 of file SumErrSq.h.
Referenced by operator()(), and parseMeasurements().
|
static |
Definition at line 37 of file SumErrSq.h.
|
private |
Definition at line 87 of file SumErrSq.h.
Referenced by operator()().
|
private |
Definition at line 86 of file SumErrSq.h.
Referenced by operator()().