Minkowskitávolság
Minkowskitávolság, also known as Minkowski distance or L_p distance, is a metric in a normed vector space. It is defined by the Minkowski inequality, which states that for any two vectors x and y, the distance between them is the p-norm of their difference. This can be expressed mathematically as:
d_p(x, y) = (sum from i=1 to n of |x_i - y_i|^p)^(1/p)
where x and y are n-dimensional vectors and p is a real number greater than or equal
The Minkowski distance is a generalization of several other common distance metrics. When p = 1, it
The parameter p influences the "shape" of the unit ball. For p = 1, the unit ball is