This is documentation for an old release of SciPy (version 0.10.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.linalg.diagsvd

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

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

Parameters :

s : array, shape (M,) or (N,)

Singular values

M : integer

N : integer

Size of the matrix whose singular values are s

Returns :

S : array, shape (M, N)

The S-matrix in the singular value decomposition

Previous topic

scipy.linalg.svdvals

Next topic

scipy.linalg.orth

This Page