|
Compute a (hyper-)ball of smallest radius enclosing a point set.
- Reference:
- This is a re-implementation from scratch based on the idea of
Bernd Gaertner at http://www.inf.ethz.ch/personal/gaertner
by Minh-Tri Pham
- Parameters:
a (array(shape=(N,d), dtype='d')) - an array of N d-dimensional points
- Returns:
- p : array(shape=(d,), dtype='d')
- center point of the (hyper-)ball
- r : double
- its squared radius, supposed to be the smallest possible value
- support_array : array(shape=(M,d), dtype='d')
- an array of supporting points, M is the number of supporting points
- accuracy : double
- relative accuracy of the solution
- slack : double
- slack value
|