BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
template<class U > | |
std::vector< std::string > | keys (const std::map< std::string, U > &map) |
Variables | |
const std::function< double(double)> | l1_norm = [](double term) { return std::abs(term); } |
const std::function< double(double)> | l2_norm = [](double term) { return term * term; } |
const std::map< std::string, std::function< std::unique_ptr< ObjectiveMetric >)> > | metric_factory |
const std::string | default_metric_name = "poisson-like" |
const std::map< std::string, std::function< double(double)> > | norm_factory |
const std::string | default_norm_name = "l2" |
std::vector<std::string> anonymous_namespace{ObjectiveMetricUtils.cpp}::keys | ( | const std::map< std::string, U > & | map | ) |
Definition at line 39 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::metricNames(), and ObjectiveMetricUtils::normNames().
const std::function<double(double)> anonymous_namespace{ObjectiveMetricUtils.cpp}::l1_norm = [](double term) { return std::abs(term); } |
Definition at line 24 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::l1Norm().
const std::function<double(double)> anonymous_namespace{ObjectiveMetricUtils.cpp}::l2_norm = [](double term) { return term * term; } |
Definition at line 25 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::l2Norm().
const std::map<std::string, std::function<std::unique_ptr<ObjectiveMetric>)> > anonymous_namespace{ObjectiveMetricUtils.cpp}::metric_factory |
Definition at line 27 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::createMetric(), and ObjectiveMetricUtils::metricNames().
const std::string anonymous_namespace{ObjectiveMetricUtils.cpp}::default_metric_name = "poisson-like" |
Definition at line 33 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::defaultMetricName().
const std::map<std::string, std::function<double(double)> > anonymous_namespace{ObjectiveMetricUtils.cpp}::norm_factory |
Definition at line 35 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::createMetric(), and ObjectiveMetricUtils::normNames().
const std::string anonymous_namespace{ObjectiveMetricUtils.cpp}::default_norm_name = "l2" |
Definition at line 37 of file ObjectiveMetricUtils.cpp.
Referenced by ObjectiveMetricUtils::defaultNormName().