scipy.linalg.lapack.dgesdd_lwork#

scipy.linalg.lapack.dgesdd_lwork(m, n, compute_uv=1, full_matrices=1) = <flapack function dgesdd_lwork>#

Query the optimal lwork for dgesdd.

Parameters:
mint

Number of rows of the matrix.

nint

Number of columns of the matrix.

compute_uvint, optional

If nonzero, singular vectors are computed. Default is 1.

full_matricesint, optional

If nonzero, full-sized u and vt are computed. Default is 1.

Returns:
workfloat

Optimal size of the work array, as a scalar of the routine’s dtype.

infoint

0 on success; if negative, the -info-th argument had an illegal value.