12#include "MantidAPI/DllConfig.h"
38 ParameterTie(
IFunction *funct,
const std::string &parName,
const std::string &expr =
"",
bool isDefault =
false);
42 virtual void set(
const std::string &expr);
44 virtual double eval(
bool setParameterValue =
true);
46 virtual std::string asString(
const IFunction *fun =
nullptr)
const;
49 bool findParametersOf(
const IFunction *fun)
const;
51 bool isConstant()
const;
53 std::vector<ParameterReference> getRHSParameters()
const;
59 std::map<double *, ParameterReference>
m_varMap;
68 static double *AddVariable(
const char *varName,
void *palg);
This is an interface to a fitting function - a semi-abstarct class.
A reference to a parameter in a function.
std::map< double *, ParameterReference > m_varMap
Store for parameters used in the tie.
std::string m_expression
Keep the template for the input string passed to this->set(...) In the template CompositeFunction pre...
std::unique_ptr< mu::Parser > m_parser
math parser
IFunction * m_function1
Keep the function that was passed to the constructor.
Helper class which provides the Collimation Length for SANS instruments.