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> >
47 template<
class JFunction_t,
class T>
52 for (T i = __begin; i != __end; ++i) {
53 chi2 += fit(
value, *i);
78 public JMinimiser_t<JModel_t>
General purpose messaging.
JModel_t value
model value
result_type operator()(const JFunction_t &fit, T __begin, T __end)
Get chi2.
JAbstractMinimiser()
Default constructor.
Auxiliary classes and methods for linear and iterative data regression.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for handling debug parameter within a class.
Abstract class for global fit method.
JMinimiser_t< JModel_t > minimiser_type
JRegressor< JModel_t, JMinimiser_t > regressor_type
result_type operator()(const JModel_t &value, T __begin, T __end)
Global fit.
minimiser_type::result_type result_type
Template definition of a data regressor of given model.