1#ifndef __JFIT__JREGRESSOR__
2#define __JFIT__JREGRESSOR__
4#include "Jeep/JMessage.hh"
13namespace 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>
106 template<
class JModel_t,
template<
class>
class JMinimiser_t = JAbstractMinimiser>
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.
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 data structure for storage of internal data.
Template definition of a data regressor of given model.