IMP logo
Public Member Functions
IMP::algebra::ParabolicFit2D Class Reference

Detailed Description

Calculate parabola that fits best the input data points.

List of all members.

Public Member Functions

 ParabolicFit2D (const Vector2Ds &data)
 Constructor.
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

Constructor & Destructor Documentation

IMP::algebra::ParabolicFit2D::ParabolicFit2D ( const Vector2Ds data)

Constructor.

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

Member Function Documentation

double IMP::algebra::ParabolicFit2D::get_a ( ) const

get a value (a*x^2)

double IMP::algebra::ParabolicFit2D::get_b ( ) const

get b value (b*x)

double IMP::algebra::ParabolicFit2D::get_c ( ) const

get c value (constant)

double IMP::algebra::ParabolicFit2D::get_fit_error ( ) const

fit error


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

Generated on Tue May 22 2012 23:33:25 for IMP by doxygen 1.8.1