accumulates a number of (x,y) points to find the best-least-squares parabola approximating them More...
#include <MRBestFitParabola.h>
Public Member Functions | |
| void | addPoint (T x, T y) |
| accumulates one more point for parabola fitting | |
| void | addPoint (T x, T y, T weight) |
| accumulates one more point with given weight for parabola fitting | |
| Parabola< T > | getBestParabola (T tol=std::numeric_limits< T >::epsilon()) const |
| computes the best approximating parabola from the accumulated points; | |
accumulates a number of (x,y) points to find the best-least-squares parabola approximating them