63 std::vector<double>::const_iterator x_begin,
64 std::vector<double>::const_iterator x_end,
65 std::vector<double>::const_iterator y_begin);
69 std::vector<double>::const_iterator x_begin,
70 std::vector<double>::const_iterator x_end,
71 std::vector<double>::const_iterator y_begin,
72 std::vector<double>::const_iterator w_begin);
75 double eval(
double x)
const;
78 static double eval(
double A,
double B,
double C,
double x);
Definition: QuadraticRegression.h:57
double b_
Definition: QuadraticRegression.h:87
double eval(double x) const
void computeRegressionWeighted(std::vector< double >::const_iterator x_begin, std::vector< double >::const_iterator x_end, std::vector< double >::const_iterator y_begin, std::vector< double >::const_iterator w_begin)
double c_
Definition: QuadraticRegression.h:88
void computeRegression(std::vector< double >::const_iterator x_begin, std::vector< double >::const_iterator x_end, std::vector< double >::const_iterator y_begin)
static double eval(double A, double B, double C, double x)
double getChiSquared() const
C*X^2.
double chi_squared_
Definition: QuadraticRegression.h:89
double getB() const
A = the intercept.
double a_
Definition: QuadraticRegression.h:86
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47