afstandsfunktion
An afstandsfunktion, commonly called a distance function or metric, is a function that assigns a nonnegative real value to any pair of elements from a set, measuring how far apart they are. Formally, it is a function d: X × X → [0, ∞) that is intended to quantify the distance between elements x and y in X.
A distance function typically satisfies four core properties: non-negativity (d(x,y) ≥ 0), identity of indiscernibles (d(x,y) = 0
Common examples include the Euclidean distance (L2 norm), the Manhattan distance (L1 norm), and the Chebyshev
A distance function induces a topology via open balls and supports notions of convergence and continuity. Not