16using namespace CurveFitting;
18using namespace Kernel;
25 declareParameter(
"Height", 1.0,
"Scaling factor to be applied to the resolution.");
26 declareParameter(
"Centre", 0.0,
"Shift along the x-axis to be applied to the resolution.");
31 std::fill(out, out + nData, 0);
38 std::runtime_error(
"Cannot compute derivative of a delta function");
#define DECLARE_FUNCTION(classname)
Macro for declaring a new type of function to be used with the FunctionFactory.
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
Represents the Jacobian in IFitFunction::functionDeriv.
void function1D(double *out, const double *xValues, const size_t nData) const override
General implementation of the method for all peaks.
void functionDeriv1D(API::Jacobian *out, const double *xValues, const size_t nData) override
General implementation of the method for all peaks.