Skip to contents

Distance from a point x to a set X

Usage

dist_point_to_set(x, X)

Arguments

x

A point.

X

A vector of points.

Value

A vector of the same size as x, with the corresponding distance from x to each element of X.