16 #ifndef BORNAGAIN_SIM_RESIDUAL_IINTENSITYFUNCTION_H
17 #define BORNAGAIN_SIM_RESIDUAL_IINTENSITYFUNCTION_H
25 virtual double evaluate(
double value)
const = 0;
33 double evaluate(
double value)
const override;
41 double evaluate(
double value)
const override;
Interface for applying arbitrary function to the measured intensity.
virtual ~IIntensityFunction()
virtual double evaluate(double value) const =0
virtual IIntensityFunction * clone() const =0
Algorithm for applying log function to the measured intensity.
double evaluate(double value) const override
IntensityFunctionLog * clone() const override
Algorithm for applying sqrt function to the measured intensity.
IntensityFunctionSqrt * clone() const override
double evaluate(double value) const override