67 return callMethodNoCheck<object, object>(
getSelf(),
"functionLocal", xvals);
94 callMethodNoCheck<void, object, object>(
getSelf(),
"functionDerivLocal", xvals, jacobian);
virtual void functionDerivLocal(Jacobian *jacobian, const double *xValues, const size_t nData)
Derivative evaluation method. Default is to calculate numerically.
Represents the Jacobian in IFitFunction::functionDeriv.
Provides a layer to hook into the protected functions of IFunction.
void evaluateFunction(double *out, const double *xValues, const size_t nData) const
Evaluate the function by calling the overridden method.
PyObject * getSelf() const
void evaluateDerivative(API::Jacobian *out, const double *xValues, const size_t nData) const
Evaluate the derivative by calling the overridden method.
bool derivativeOverridden() const
void setCentre(const double c) override
Calls 'setCentre' method in Python.
void functionLocal(double *out, const double *xValues, const size_t nData) const override
Implemented Base-class method.
double height() const override
Calls 'height' method in Python.
void setHeight(const double h) override
Calls 'setHeight' method in Python.
double fwhm() const override
Calls Python fwhm method.
IPeakFunctionAdapter(PyObject *self)
A constructor that looks like a Python init method.
double centre() const override
Calls 'centre' method in Python.
void setFwhm(const double w) override
Called by framework when the width is changed.
void functionDerivLocal(API::Jacobian *jacobian, const double *xValues, const size_t nData) override
Implemented base-class method.