For a 100×10 matrix, what are reduced-SVD shapes U, s and Vh?
MathematicsLevel: FoundationRank and spectral numerics
For a 100×10 matrix, what are reduced-SVD shapes U, s and Vh?
Hints
- Use min(m,n).
- Vh is transposed right singular vectors.
Answer
U is 100×10, s has length 10, Vh is 10×10. Reduced factors avoid an unnecessary 100×100 U.
Source and licence: NumPy — numerical linear algebra · BSD-3-Clause · answer: Quantoros editorial