1 #ifndef __JFIT__JREGRESSOR__
2 #define __JFIT__JREGRESSOR__
13 namespace JPP {
using namespace JFIT; }
24 template<
class JModel_t>
26 public JMessage< JAbstractMinimiser<JModel_t> >
45 template<
class JFunction_t,
class T>
50 for (
T i = __begin; i != __end; ++i) {
51 chi2 += fit(
value, *i);
76 public JMinimiser_t<JModel_t>
Template definition of a data regressor of given model.
JMinimiser_t< JModel_t > minimiser_type
result_type operator()(const JFunction_t &fit, T __begin, T __end)
Get chi2.
JRegressor< JModel_t, JMinimiser_t > regressor_type
minimiser_type::result_type result_type
Regressor function object for JPoint4D fit using JSimplex minimiser.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
General purpose messaging.
JAbstractMinimiser()
Default constructor.
JModel_t value
model value
Abstract class for global fit method.
Auxiliary class for handling debug parameter within a class.
result_type operator()(const JModel_t &value, T __begin, T __end)
Global fit.