15using namespace CurveFitting;
17using namespace Kernel;
double value
The value of the point.
#define DECLARE_FUNCTION(classname)
Macro for declaring a new type of function to be used with the FunctionFactory.
std::map< DeltaEMode::Type, std::string > index
This is a specialization of IFunction for functions of one real argument.
Attribute is a non-fitting parameter.
virtual std::string attributeName(size_t index) const
Get name of ith attribute.
virtual bool hasAttribute(const std::string &name) const
Check if attribute attName exists.
Represents the Jacobian in IFitFunction::functionDeriv.
Implements the part of IFunction interface dealing with parameters.
bool hasAttribute(const std::string &attName) const override
Check if attribute attName exists.
TabulatedFunction m_fun
Function that does the actual job.
void functionDeriv1D(API::Jacobian *out, const double *xValues, const size_t nData) override
function derivatives
std::vector< std::string > getAttributeNames() const override
Returns a list of attribute names.
Attribute getAttribute(const std::string &attName) const override
Return a value of attribute attName.
std::string attributeName(size_t index) const override
Get name of ith attribute.
size_t nAttributes() const override
Returns the number of attributes associated with the function.
void function1D(double *out, const double *xValues, const size_t nData) const override
Function values.
void setAttribute(const std::string &attName, const Attribute &) override
Set a value to attribute attName.
size_t nAttributes() const override
Returns the number of attributes associated with the function.
void function1D(double *out, const double *xValues, const size_t nData) const override
Calculate the function values.
std::vector< std::string > getAttributeNames() const override
Returns a list of attribute names.
void setAttribute(const std::string &attName, const IFunction::Attribute &value) override
Set a value to attribute attName.
Attribute getAttribute(const std::string &attName) const override
Return a value of attribute attName.