getMaxDist function

find the maxinum distance from the convex hull formed by the chosen K vertices

find the maxinum distance from the convex hull formed by the chosen K vertices

getMaxDist(centers, vertex.ind)

Arguments

  • centers: L-by-(K-1) center matrix
  • vertex.ind: index of the K centers that forms the convex hull

Returns

the maximum distance

  • Maintainer: Shengming Luo
  • License: GPL-2
  • Last published: 2019-06-14

Useful links