Etäisyysfunktio
Etäisyysfunktio, known in English as a distance function or metric, is a fundamental concept in mathematics, particularly in the fields of topology and analysis. It provides a way to quantify the "distance" between any two elements in a set. Formally, a distance function on a set X is a function d: X × X → ℝ that satisfies four properties for all x, y, and z in X.
Firstly, the non-negativity property states that the distance between any two points is always greater than
A set equipped with a distance function is called a metric space. The concept of a distance