25 declareProperty(
"C0", 1.0,
"The value by which the entire calculation is multiplied");
36 double factor =
m_c0 * pow(XIn,
m_c1);
#define DECLARE_ALGORITHM(classname)
void declareProperty(std::unique_ptr< Kernel::Property > p, const std::string &doc="") override
Add a property to the list of managed properties.
TypedValue getProperty(const std::string &name) const override
Get the value of a property.
Corrects the data and error values on a workspace by the value of an exponential function which is ev...
void retrieveProperties() override
A virtual function in which additional properties should be retrieved into member variables.
void performUnaryOperation(const double XIn, const double YIn, const double EIn, double &YOut, double &EOut) override
Carries out the Unary operation on the current 'cell'.
double m_c0
The constant by which to multiply.
void defineProperties() override
A virtual function in which additional properties of an algorithm should be declared.
double m_c1
The power to raise by.
UnaryOperation supports the implementation of a Unary operation on an input workspace.