metric
Overview
This is a general way to describe the “distance” between points in a space. Many spaces come with their own metrics or with cannonical ones that are always used.
Definition
For a set X a metric is a function
and equality only holds when (positive definite) (symmetric) - Triangle inequality