IMP  2.2.1
The Integrative Modeling Platform
IMP::algebra::ParabolicFit2D Class Reference

Calculate parabola that fits best the input data points. More...

#include <IMP/algebra/ParabolicFit.h>

+ Inheritance diagram for IMP::algebra::ParabolicFit2D:

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
 

Detailed Description

Definition at line 19 of file ParabolicFit.h.

Constructor & Destructor Documentation

IMP::algebra::ParabolicFit2D::ParabolicFit2D ( const Vector2Ds data)
Parameters
[in]datavector of pairs (VectorD<2>) with x and their corresponding y values

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