BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Utility functions for fit library. More...
Functions | |
std::string | gslErrorDescription (int errorCode) |
std::map< int, std::string > | gslErrorDescriptionMap () |
Returns translation of GSL error code to string. More... | |
bool | numbersDiffer (double a, double b, double tol) |
std::string | sectionString (const std::string §ionName="", size_t report_width=80) |
Returns horizontal line of 80 characters length with section name in it. More... | |
std::string | toString (const std::vector< std::string > &v, const std::string &delim="") |
Utility functions for fit library.
std::string mumufit::utils::gslErrorDescription | ( | int | errorCode | ) |
Definition at line 72 of file MinimizerUtils.cpp.
References gslErrorDescriptionMap().
Referenced by GSLLevenbergMarquardtMinimizer::statusToString(), and GSLMultiMinimizer::statusToString().
std::map< int, std::string > mumufit::utils::gslErrorDescriptionMap | ( | ) |
Returns translation of GSL error code to string.
Definition at line 31 of file MinimizerUtils.cpp.
Referenced by gslErrorDescription().
bool mumufit::utils::numbersDiffer | ( | double | a, |
double | b, | ||
double | tol | ||
) |
Definition at line 83 of file MinimizerUtils.cpp.
std::string mumufit::utils::sectionString | ( | const std::string & | sectionName = "" , |
size_t | report_width = 80 |
||
) |
Returns horizontal line of 80 characters length with section name in it.
Definition at line 93 of file MinimizerUtils.cpp.
Referenced by mumufit::internal::reportToString(), and mumufit::MinimizerResult::toString().
std::string mumufit::utils::toString | ( | const std::vector< std::string > & | v, |
const std::string & | delim = "" |
||
) |