32    m_ += outerSquare( v );
 
 
   40    m_ += outerSquare( weight, v );
 
 
   47    auto res = m_.pseudoinverse( tol ) * b_;
 
   48    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:12
Parabola< T > getBestParabola(T tol=std::numeric_limits< T >::epsilon()) const
computes the best approximating parabola from the accumulated points;
Definition MRBestFitParabola.h:45
void addPoint(T x, T y)
accumulates one more point for parabola fitting
Definition MRBestFitParabola.h:29
Definition MRCameraOrientationPlugin.h:8
Represents quadratic function f(x) = a*x*x + b*x + c.
Definition MRParabola.h:11
Definition MRSymMatrix3.h:15
Definition MRMesh/MRVector3.h:29