50 auto res = m_.pseudoinverse( tol ) * b_;
51 return { res[0], res[1], res[2] };
accumulates a number of (x,y) points to find the best-least-squares parabola approximating them
Definition MRBestFitParabola.h:15
Parabola< T > getBestParabola(T tol=std::numeric_limits< T >::epsilon()) const
computes the best approximating parabola from the accumulated points;
Definition MRBestFitParabola.h:48
SymMatrix2< T > outerSquare(const Vector2< T > &a)
x = a * a^T
Definition MRSymMatrix2.h:88
void addPoint(T x, T y)
accumulates one more point for parabola fitting
Definition MRBestFitParabola.h:32
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Represents quadratic function f(x) = a*x*x + b*x + c.
Definition MRParabola.h:14
Definition MRSymMatrix3.h:18
Definition MRVector3.h:33