37 std::vector<double>::const_iterator x_begin,
38 std::vector<double>::const_iterator x_end,
39 std::vector<double>::const_iterator y_begin);
43 std::vector<double>::const_iterator x_begin,
44 std::vector<double>::const_iterator x_end,
45 std::vector<double>::const_iterator y_begin,
46 std::vector<double>::const_iterator w_begin);
49 double eval(
double x)
const;
52 static double eval(
double A,
double B,
double C,
double x);
Definition: QuadraticRegression.h:31
double b_
Definition: QuadraticRegression.h:61
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:62
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:63
double getB() const
A = the intercept.
double a_
Definition: QuadraticRegression.h:60
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19