17namespace CurveFitting {
18namespace CostFunctions {
30 std::string
name()
const override {
return "Least squares"; }
33 std::string
shortName()
const override {
return "Chi-sq"; };
36 void calActiveCovarianceMatrix(
EigenMatrix &covar,
double epsrel = 1e-8)
override;
41 bool evalHessian =
true)
const override;
A semi-abstract class for a cost function for fitting functions.
Cost function for least squares.
std::string name() const override
Get name of minimizer.
std::string shortName() const override
Get short name of minimizer - useful for say labels in guis.
A wrapper around Eigen::Matrix.
std::shared_ptr< FunctionValues > FunctionValues_sptr
typedef for a shared pointer
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
std::shared_ptr< FunctionDomain > FunctionDomain_sptr
typedef for a shared pointer
Helper class which provides the Collimation Length for SANS instruments.