Compute singular values of a matrix.
a : ndarray
Matrix to decompose, of shape (M, N).
overwrite_a : bool, optional
Whether to overwrite a; may improve performance. Default is False.
s : ndarray
The singular values, sorted in decreasing order. Of shape (K,), with``K = min(M, N)``.
LinAlgError :
If SVD computation does not converge.
See also
scipy.linalg.svd
scipy.linalg.diagsvd
Enter search terms or a module, class or function name.