iCub-main
Functions
Generic Algorithms

Algorithms of general utility. More...

+ Collaboration diagram for Generic Algorithms:

Functions

bool iCub::optimization::minVolumeEllipsoid (const std::deque< yarp::sig::Vector > &points, const double tol, yarp::sig::Matrix &A, yarp::sig::Vector &c)
 Find the minimum volume ellipsoide (MVEE) of a set of N d-dimensional data points. More...
 

Detailed Description

Algorithms of general utility.

Author
Ugo Pattacini

Function Documentation

◆ minVolumeEllipsoid()

bool iCub::optimization::minVolumeEllipsoid ( const std::deque< yarp::sig::Vector > &  points,
const double  tol,
yarp::sig::Matrix &  A,
yarp::sig::Vector &  c 
)

Find the minimum volume ellipsoide (MVEE) of a set of N d-dimensional data points.

Parameters
pointsthe set of N d-dimensional data points.
tolthe tolerance of the algorithm given in the points metrics.
Athe dxd matrix of the ellipsoid equation in the center form: (x-c)'A(x-c)=1.
cthe d-dimensional vector representing the ellipsoid's center.
Returns
true/false on success/fail.