IMP logo

IMP::algebra::ParabolicFit Class Reference


Detailed Description

Calculate parabola that fits best the input data points.

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

Constructor & Destructor Documentation

IMP::algebra::ParabolicFit::ParabolicFit ( const std::vector< VectorD< 2 > > &  data  ) 

Constructor.

Parameters:
[in] data vector of pairs (VectorD<2>) with x and their corresponding y values


The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:47 2010 for IMP by doxygen 1.5.8