10#include "MantidCurveFitting/DllConfig.h"
13namespace CurveFitting {
24 std::string
name()
const override {
return "Voigt"; }
26 void declareParameters()
override;
29 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const override;
31 void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
34 void calculateFunctionAndDerivative(
const double *xValues,
const size_t nData,
double *functionValues,
38 double centre()
const override;
40 double height()
const override;
42 double fwhm()
const override;
44 void setCentre(
const double value)
override;
46 void setHeight(
const double value)
override;
48 void setFwhm(
const double value)
override;
50 double intensity()
const override;
52 void setIntensity(
const double value)
override;
double value
The value of the point.
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
Represents the Jacobian in IFitFunction::functionDeriv.
Implements an analytical approximation to the Voigt function.
std::string name() const override
Return a string identifier for the function.
Helper class which provides the Collimation Length for SANS instruments.