IMP
2.2.1
The Integrative Modeling Platform
|
Calculate parabola that fits best the input data points. More...
#include <IMP/algebra/ParabolicFit.h>
Public Member Functions | |
ParabolicFit2D (const Vector2Ds &data) | |
Constructor. More... | |
double | get_a () const |
get a value (a*x^2) | |
double | get_b () const |
get b value (b*x) | |
double | get_c () const |
get c value (constant) | |
double | get_fit_error () const |
fit error | |
void | show (std::ostream &out=std::cout) const |
Definition at line 19 of file ParabolicFit.h.
IMP::algebra::ParabolicFit2D::ParabolicFit2D | ( | const Vector2Ds & | data | ) |
[in] | data | vector of pairs (VectorD<2>) with x and their corresponding y values |