### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »

# scipy.linalg.diagsvd

`scipy.linalg.``diagsvd`(s, M, N)

  Construct the sigma matrix in SVD from singular values and size M, N.

  Parameters : | s : (M,) or (N,) array_like Singular values M : int Size of the matrix whose singular values are `s`. N : int Size of the matrix whose singular values are `s`.
  Returns : | S : (M, N) ndarray The S-matrix in the singular value decomposition

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »