Rosetta
Namespaces | Functions
minimum_bounding_ellipse.hh File Reference

Given a set of points, calculate the minimum bounding ellipse. More...

#include <numeric/MathMatrix.hh>
#include <numeric/xyzVector.fwd.hh>
#include <numeric/types.hh>
#include <numeric/linear_algebra/EllipseParameters.fwd.hh>
#include <utility/vector1.hh>

Namespaces

 numeric
 Unit headers.
 
 numeric::linear_algebra
 

Functions

EllipseParametersOP numeric::linear_algebra::minimum_bounding_ellipse (utility::vector1< xyzVector< Real > > points, Real tolerance, Size max_iterations)
 Use the Khachiyan Algorithm to compute the minimum volume enclosing ellipsoid given a set of (x,y) data points. More...
 
Real numeric::linear_algebra::sum_of_square_differences (MathMatrix< Real > old_u, MathMatrix< Real > new_u)
 Calculate the sum-of-square differences between values stored in two vector1 objects. More...
 
MathMatrix< Realnumeric::linear_algebra::non_square_transpose (MathMatrix< Real > matrix_in)
 Calculate the transpose of a non-square MathMatrix and return the result as a new MathMatrix. More...
 
bool numeric::linear_algebra::point_in_ellipse (xyzVector< Real > p, Real const h, Real const k, Real const a, Real const b, MathMatrix< Real > rotation)
 Check whether a given test point lies within an ellipse. More...
 

Detailed Description

Given a set of points, calculate the minimum bounding ellipse.

Author
Rebecca Alford (ralfo.nosp@m.rd3@.nosp@m.jhu.e.nosp@m.du)