The columns of U form an orthonormal basis set that spans the column space of B , while the rows of T V form an orthonormal basis set that spans the row space of B . Σ is a diagonal matrix whose elements are the singular values. The singular values weigh the importance of the singular vectors in reproducing B . The singular values are sorted from largest to smallest, and the corresponding vectors in U and V are sorted accordingly.