farthest point sampling (FPS) for a vector
fps_vector(v, n, method = "round")
v
vector
n
sample size
method
round|floor|ceiling, the method used when trans to integer
round|floor|ceiling
sampled vector
fps_vector(1:10, 4)