#include <OpenMS/MATH/STATISTICS/QuadraticRegression.h>
◆ QuadraticRegression()
◆ computeRegression()
void computeRegression |
( |
std::vector< double >::const_iterator |
x_begin, |
|
|
std::vector< double >::const_iterator |
x_end, |
|
|
std::vector< double >::const_iterator |
y_begin |
|
) |
| |
compute the quadratic regression over 2D points
◆ computeRegressionWeighted()
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 |
|
) |
| |
compute the weighted quadratic regression over 2D points
◆ eval() [1/2]
evaluate the quadratic function
◆ eval() [2/2]
evaluate using external coefficients
◆ getA()
◆ getB()
◆ getC()
◆ getChiSquared()
double getChiSquared |
( |
| ) |
const |
◆ a_
◆ b_
◆ c_
◆ chi_squared_