15namespace CurveFitting {
33 std::string
name()
const override {
return "LinearBackground"; }
34 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
35 void functionDeriv1D(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
37 void fit(
const std::vector<double> &X,
const std::vector<double> &Y)
override;
43 void histogram1D(
double *out,
double left,
const double *
right,
const size_t nBins)
const override;
46 const size_t nBins)
const override;
Represents the Jacobian in IFitFunction::functionDeriv.
Provide linear function interface to IFunction.
std::string name() const override
overwrite IFunction base class methods
Helper class which provides the Collimation Length for SANS instruments.