bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dgesvd
lapack_function
scipy.linalg._flapack:dgesvd
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dgesvd(a, compute_uv = 1, full_matrices = 1, lwork = Ellipsis, overwrite_a = 0)Summary
Compute the singular value decomposition a = u @ diag(s) @ vt by QR iteration (LAPACK dgesvd).
Parameters
a: ndarrayMatrix of shape
(m, n).compute_uv: int, optionalIf nonzero, singular vectors are computed. Default is 1.
full_matrices: int, optionalIf nonzero, full-sized u and vt are computed. Default is 1.
lwork: int, optionalSize of the workspace. Default is routine-specific. Use
gesvd_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
u: ndarrayLeft singular vectors; a
(1, 1)placeholder whencompute_uvis 0.s: ndarraySingular values of
a, in descending order.vt: ndarrayRight singular vectors, transposed; a placeholder when
compute_uvis 0.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the algorithm failed to converge.
Aliases
scipy.linalg._flapack.dgesvd