A metric is a function that give the distance, i.e. a real number, between any two elements of a space.
Because a norm can be induced by an inner product, and the inner product given by the matrix representation of a positive definite symmetric bilinear form, in simple cases metrics can also be represented by a matrix.
New to topics? Read the docs here!