Define a sparse metrics.
A matrix in which number of zero entries are much higher than the number of non zero entries is known as sparse matrix. The natural method of showing matrices in memory as two-dimensional arrays might not be suitable for sparse matrices.