7 #ifndef Tomato_OXModelT1Shmolli_H 8 #define Tomato_OXModelT1Shmolli_H 10 #include "tomatolib_export.h" 23 template<
typename MeasureType >
29 bool _preventUnderOverFlow;
31 bool _rootMedianSquareCost;
33 virtual MeasureType
calcModelValue(
const MeasureType* parameters, MeasureType time);
34 virtual void calcLSResiduals(
const MeasureType* parameters, MeasureType* residuals);
35 virtual void calcLSJacobian(
const MeasureType* parameters, MeasureType* jacobian);
36 virtual MeasureType
calcCostValue(
const MeasureType* parameters );
37 virtual void calcCostDerivative(
const MeasureType* parameters, MeasureType* derivative);
41 _preventUnderOverFlow =
true;
42 _costHeuristic =
true;
43 _rootMedianSquareCost =
false;
62 #ifndef TOMATOLIB_COMPILED 64 #endif //TOMATOLIB_COMPILED 66 #endif //Tomato_OXModelT1Shmolli_H virtual Model< MeasureType > * newByCloning()
Definition: OxModelT1Shmolli.h:52
virtual MeasureType calcModelValue(const MeasureType *parameters, MeasureType time)
Definition: OxModelT1Shmolli.hxx:16
Container for a model function, cost function and Least-Squares function. And derivatives.
Definition: OxModel.h:26
virtual void calcLSResiduals(const MeasureType *parameters, MeasureType *residuals)
Definition: OxModelT1Shmolli.hxx:52
Container for a CalculatorShmolli model function , cost function and Least-Squares function and deriv...
Definition: OxModelT1Shmolli.h:24
virtual ~ModelT1Shmolli()
do not forget about the virtual destructor, see https://stackoverflow.com/questions/461203/when-to-us...
Definition: OxModelT1Shmolli.h:58
virtual MeasureType calcCostValue(const MeasureType *parameters)
Definition: OxModelT1Shmolli.hxx:97
virtual void calcLSJacobian(const MeasureType *parameters, MeasureType *jacobian)
Definition: OxModelT1Shmolli.hxx:75
Definition: OxCalculator.h:19
virtual void calcCostDerivative(const MeasureType *parameters, MeasureType *derivative)
Definition: OxModelT1Shmolli.hxx:142