Public Member Functions | |
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 (double x) const |
fit error | |
ParabolicFit (const std::vector< VectorD< 2 > > &data) | |
Constructor. | |
void | show (std::ostream &out=std::cout) const |
show equation |
IMP::algebra::ParabolicFit::ParabolicFit | ( | const std::vector< VectorD< 2 > > & | data | ) |
Constructor.
[in] | data | vector of pairs (VectorD<2>) with x and their corresponding y values |